My problem is that I have an input field where you type in some degrees and a velocity ( like 44 degrees
and 10m/s
). Then that runs through some javascript, and it spits out a trajectory.
A jsfiddle showing my problem a little better.
http://jsfiddle.net/3ahhf1xL/1/
How do i input it as degrees? or convert radians to the exact same amount of degrees?
Edit: I want to convert it to the same amount of degrees. an example of 44 radians would result in 2521 degrees if I straight up convert them instead of 44 degrees (amount of radians = amount of degrees).