this is cool, ive always wanted to make something like this. I imagine it could make a fun spore-esque game.
So it seems like alike colors have flocking behavior and unlike colors have seeking behavior?
Would be cool if you could add some preset settings that would generate the different structures you mentioned. would be a good way to show how the different parameters effect things.
There are already presets!, Just press 1 to 8 in the simulator to test. The video explains it all, basically every color feels attraction or repulsion to the rest of colors, including itselves. Red can love blue, repel green and had a sligth attraction for reds too, for example
2
u/jc2046 Jun 17 '25
It was prototyped in processing, later ported to webgpu in browser.
There´s a link in the description to the online simulator if you want to try it. I would love to get feedback and refine it. Thaaanks!
1
u/etxsalsax Jun 17 '25
this is cool, ive always wanted to make something like this. I imagine it could make a fun spore-esque game.
So it seems like alike colors have flocking behavior and unlike colors have seeking behavior?
Would be cool if you could add some preset settings that would generate the different structures you mentioned. would be a good way to show how the different parameters effect things.