This is a work in progress simulation or particle system, based on The Coding Train video Coding Challenge #124 https://www.youtube.com/watch?v=mhjuuHl6qHM
Controls:
- If left mouse button is clicked, the particles will avoid the mouse.
I'm open to any change to boost the performance of the simulation (Quadrtree?). I plan to use it in a fishtank wallpaper or so, if anyone finds another use, feel free to play with the code!
[Please log in to post a comment]