Full threadjwmerrill·Quick Desmos graph, if you want to play around with some of the math with less of the programming:https://www.desmos.com/calculator/mvnrzlrhrzView on HN