Interactive Planet Toy

Go to Source

See the Code
See it Full Page
See Details

Launch new planets by clicking and dragging. You can see the predicted path of your new planet to see if it will collide with any other planets. Once a smaller planet hits a bigger planet it will disappear. Planets of the same size can't hit each other.

Every planet will apply a gravitational pull on other planets. The bigger the planet, the stronger the gravitational forces!

This Pen uses: HTML, CSS, Babel, and Babel