See inside for a simple use of spherical coordinates. Watch, or press left & right arrow keys. All code by me (@kriblo). Try my spherical game Faraday Worm: https://scratch.mit.edu/projects/345530252/ Wikipedia page about Spherical coordinate systems: https://en.wikipedia.org/wiki/Spherical_coordinate_system