Radians

No, I’m not talking about the alien-worshipping religion (which is the Raelians anyway); I’m referring to the world’s most pointless rotation / angle measurement.

Everyone on the planet knows about degrees: 360 degrees in a perfect circle; 90 degrees is a quarter; 120 degrees is a third, so on and so forth.  Standard mathematical measurement for angles and rotation.  You’d think everyone would use it.

No, Adobe, in their infinite wisdom, don’t.  For some reason, they’ve decided that the Matrix class in ActionScript 3 should use radians to mark its rotation.  Not degrees.  It took me ages to work this out, as I was putting in 90 for the rotation I wanted and was getting 116 degrees (5156.62 degrees, actually, but neh).

I honestly have no idea why they would choose radians as the unit for this.  Not only does it result in fractional numbers, it’s a nightmare to convert in and out of.  Oh, but I forgot that it makes sooo much more sense to put in 1.57 as my rotation instead of 90.  Stupid me.

*stabs idiot ActionScript 3 designers*

Leave a Reply