Circle splatter (#25)
Jonathan Frech
Continuing to work with vectors (see “Circle Crawler”), I thought to include the mouse cursor. In this simulation there are 1 ⨉ 1-sized entities (400 of them) which create a circle around the center. By going near the entities with your mouse cursor, you push them away. Every entity has the urge to go back to its original position.
Usage
- “m” toggles if entities move or stay.



Source code: circle-splatter.py