Interactive Fan on HTML5 Canvas

Interactive fan with controllable speed and direction

建立方法 JavaScript, HTML5, Canvas, CSS3

  • 72 次观看

有关此演示作者的更多信息

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.

关于此演示

下载源代码 17.06 KB · ZIP 格式

Browse the Source

此演示发布于 MPL/GPL/LGPL 授权之下。

Vivax-Solutions 的更多作品