that sounds just about right, but how do the new particles collide with the ones already there if the physics engine does not know them anymore? you should keep the top layer somehow…
i guess the demo is based on a cellular automata. i found a sourcecode for you.
i think you can do this all inside a plugin which just outputs a texture…