A gravity simulation in p5.js where every particle pulls on every other one based on mass and distance, so they sling each other around and form little chaotic solar systems in the browser. Built by following Hack Club's Particle Physics workshop.
02What I learned
Built to level up my programming and explore what modern web tools can do creatively.
03Try it live
Runs particlephysics.senvor.dev right here.
Gallery
The live simulation
Want a fast, responsive site like this for your business?