Javascript Geometry: Polar to Cartesian and Back Again
I'm trying to create a program that converts Polar values to Cartesian and back again. I need to be able to switch between the two types without any change in the data. I've created class types for Polar and Cartesian…