This is a naive port of particle life.
Press Z to cycle through draw modes.
Press X to toggle stats.
Background: https://www.youtube.com/watch?v=0Kx4Y9TVMGg
Code based on https://github.com/ravener/love-life/ which is MIT license.
TODO:
- interface for changing the rules.
This is a koan more than anything, it needs more processing power than Pico-8 will give it - not suited to this environment. But still interesting to experiment with.
Tweak any of the numeric literals to alter behaviour.
The rule arguments determine the attraction/repulsion between two groups.



A port using https://github.com/jamesedge/pico8-physics might be interesting...
EDIT: i dont think it understands gravitational attraction between entities, only with the world.
[Please log in to post a comment]