Planetary Motion


A video tutorial to draw a planet on an elliptical orbit!

A bright yellow sun in the center and a smaller blue ball rotates in an elliptical orbit with custom eccentricity.  The speed is interpolated between 100 points of the path using kepler's law for a realistic to-scale orbital behavior. This app is created in Swift using SpriteKit, watch the Youtube video for an in depth tutorial!



Add a Comment:
sign in to comment. sign in