Particle Ink

I’ve updated my aforementioned particle class, so it can now iterate through an array of attractors. Pretty simple stuff, but it can yield some interesting visuals when a few randomly placed attractors act on the particles. The code isn’t pretty and it will likely run slowly on older machines due to the high number of particles. I probably should look into a more efficient way than just running every single particle against the full array of attractors.

Click here for the applet

Click here for the applet

Tags: , , ,

Leave a Reply