Jonathan. Frech’s WebBlog

Circle crawler (#20)

Jonathan Frech

In this program there are entities equally positioned around the center. As the entities begin to move, they can either go toward the center, away from the center or stay. You can toggle if the entities move and if the screen gets refilled. The code is based on “Circle Walk II”, but the calculation for the entities to move in re­la­tion to the center is achieved by using vectors.

Usage

Source code: circle-crawler.py