Today, while playing around with the image commands in DrRacket, i noticed that the rotate command rotates an image in degrees counter-clockwise. I wonder how that was decided. Maybe the developers flipped a coin...
This is a classical convention in mathematics: a rotation by a certain number of degrees is, by default, counterclockwise. Rotate by negative that number of degrees for clockwise. Weird but true.
This is a classical convention in mathematics: a rotation by a certain number of degrees is, by default, counterclockwise. Rotate by negative that number of degrees for clockwise. Weird but true.
ReplyDelete