Interactive Fan on HTML5 Canvas
Interactive fan with controllable speed and direction
More About This Demo From The Author
The fan is an image. It can be rotated by a value chosen by a user. The direction of motion can also be changed.
The effect is produced by rotating the canvas by <em>context.rotate(angle)</em> method. The <strong>angle </strong>must be given in radians as an argument.
Get the Source Code
This demo is released under the MPL/GPL/LGPL license.