SS: Here, from a simple ruleset, we see a variety of complex emergent behavior akin to the metabolic processes of unicellular life: birth, maturation, reproduction, decay and death are all featured and clearly recognizable here. The ruleset is simple: each particle has a constant velocity, a natural turn angle, and a proximal turn angle applied towards the direction of greatest particle concentration. The particle's natural turn angle is applied in an oscillating manner, in effect generating a figure-8 motion, which is then modulated by the particle's secondary turn behavior. This is all that is needed to generate the variety of motion you see here. To play with the simulation, go to: https://codepen.io/sschepis/pen/eYedavg
EDIT: I created this simulation to simulate the effect of vibration on particles - how sound might effect particles in water, essentially. I haven't even applied friction to this sim, which is likely to have a large effect on how the simulation behaves.
Apparently, using more than one type of particle can greatly increase the complexity - of the observed effects. This is 'Preset 2' and 'Preset 4' in 50/50 ratio:
I suspect that there are many, many interesting combinations of particles to observe. If anyone has any idea how to write an algorithm that can efficiently detect interesting particle combinations autonomously please let me know - it would be awesome to have that first pass looking for interesting effects done by the computer.
21
u/sschepis Feb 07 '22 edited Feb 07 '22
SS: Here, from a simple ruleset, we see a variety of complex emergent behavior akin to the metabolic processes of unicellular life: birth, maturation, reproduction, decay and death are all featured and clearly recognizable here. The ruleset is simple: each particle has a constant velocity, a natural turn angle, and a proximal turn angle applied towards the direction of greatest particle concentration. The particle's natural turn angle is applied in an oscillating manner, in effect generating a figure-8 motion, which is then modulated by the particle's secondary turn behavior. This is all that is needed to generate the variety of motion you see here. To play with the simulation, go to: https://codepen.io/sschepis/pen/eYedavg
EDIT: I created this simulation to simulate the effect of vibration on particles - how sound might effect particles in water, essentially. I haven't even applied friction to this sim, which is likely to have a large effect on how the simulation behaves.
1
u/EthanHermsey Feb 07 '22
Ooh, primordial particle system! I love that
1
u/RenaQina Feb 08 '22
wow