This sketch shows planets orbiting a sun. Click to add another planet!
Click here to view this code in the p5 editor.
- Make a more realistic simulation of our solar system
- Create a sketch where a planet orbits a sun, and a moon orbits the planet
- Instead of the planets only orbiting the sun, make it so their orbits are affected by each other as well