Comment Backwards (Score 3, Insightful) 218
Learning math helps you with programming, not the other way around.
I was able to apply Trig in high school and derived 2D rotation and translation equations using my TI-85 back in the late 90's. I had a little demo moving and rotating around a wireframe track.
It makes no sense to go the other way of teaching trig through programming. Programming is an application of math. Lots of domains require different levels of math. And then coding can be used to reduce workloads by automating calculations.