These are reminding me of my favorite particle-test-pattern. It's really simple but creates a cool structure:
- Initialize particles in a grid
then loop:
- Calculate the particle's image under a mandelbrot iteration and apply it as a force:
vel+= dt * (complex_square(pos)+start_pos);
pos+= dt* vel;