JavaScript
Article

HTML5 Canvas JavaScript Animation Example

By Sam Deering

Pretty cool HTML5 Canvas Example which uses JavaScript and the Canvas element to create an animation effect controlled by mouseover events.


google-html5

Instructions: Mouse over the Google logo to move the balls around, and then watch them reassemble.


See Live Demo

< !DOCTYPE HTML>





	

Source

Sam Deering
Meet the author
Sam Deering is a Front-end Web Developer who specialises in JavaScript & jQuery. Sam is driven and passionate about sharing his knowledge to educate others.

Recommended

Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Get the latest in JavaScript, once a week, for free.