Circle Walk
2015-03-30, post № 4
programming, Pygame, Python, #circle, #color, #controlled, #distance, #entity, #influence, #mouse, #orbital, #pi, #random, #repel, #simulation, #spawn, #system
In an attempt to create systems with entities which influence each other I created ‘Circle Walk’. In this program you can spawn in entities which will go around the center with variant speed. When two entities get near each other, they will randomly change their distance to the center and eventually get away from one another.
Usage
- Click with the left mouse button to spawn in a new entity.
Source code: circle-walk.py