These are toys that I’ve built for fun. Check out their source code on github.
Particles (2023) A canvas simulation of particles that interact with each other.
Flock.js (2014) An ancient boids simulation I made many years ago.