Interactive Simulation
Click anywhere on the canvas to add a new planet. Watch orbital mechanics in action.
Game Recording
Captured gameplay footage from the Solar System simulation
About This Project
Solar System is an interactive simulation and generative art game that models planetary systems using procedural algorithms and p5.js. Players can explore procedurally generated solar systems with orbiting planets, moons, and celestial bodies -- each system uniquely generated with different gravitational dynamics, orbital paths, and visual aesthetics.
The simulation features realistic orbital mechanics with elliptical paths, gravitational attraction between celestial bodies, and dynamically generated stars in the background. Players can click anywhere in the canvas to spawn new planets that immediately join the gravitational dance, creating ever-evolving and mesmerizing cosmic choreographies.
Built from scratch using JavaScript and the p5.js creative coding framework, the project demonstrates procedural generation, physics simulation, and interactive generative art -- merging mathematical beauty with computational creativity.