This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

nccb
nccb presents ...

2012/7/24

Image Rotation

This is an example of how image rotation works, without using built-in rotation functions. The maths is explained in this post:

http://sinepost.wordpress.com/2012/07/24/image-rotation/

To see the rotation, run the scenario and left click to set where the top of the image should point. The link above offers some challenge exercises, such as preventing the image being cropped during rotation.

4662 views / 8 in the last 7 days

1 vote | 0 in the last 7 days

Tags: with-source

open in greenfoot
Your browser does not support the canvas tag.
SPowerSPower

2012/7/24

Little question, is this the same way greenfoot's Actor class does it?

Want to leave a comment? You must first log in.

Who likes this?

zapnine7