Interactive Fan on HTML5 Canvas

Interactive fan with controllable speed and direction

Built using JavaScript, HTML5, Canvas, CSS3


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.

About this Demo

Download the Source 17.06 KB · ZIP File

Browse the Source

This demo is released under the MPL/GPL/LGPL license.

More by Vivax-Solutions