hunar4321 / particle-life

A simple program to simulate artificial life using attraction/reuplsion forces between many particles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature request] Spawn or destroy pixels based off rules

Slyke opened this issue · comments

commented

I'm thinking something like the game of life where more pixels are spawned, or killed based off how many others are around them (and distance). Could be set to say reds die if there's too many blues close or something like that. Or maybe a red has a 50% chance of dying, and that % goes up the closer the nearest blue pixel is.

I haven't thought of the full implementation details, but it might be a good addition.