Planets

This sketch shows planets orbiting a sun. Click to add another planet!

Click here to view this code in the p5 editor.


This is a companion discussion topic for the original entry at https://happycoding.io/examples/p5js/creating-classes/planets