Creating a Javascript Animation from Scratch

Video ready, click here to close ×


This is a somewhat advanced tutorial on creating a javascript animation from scratch. I’ll walk you through the steps on creating on moving a div x amount of pixels and a specific speed.

If your interested in learning about the addEvent function, you can find an excellent video on Net Tuts+
http://net.tutsplus.com/videos/screencasts/javascript-from-null-chapter-5-events/

I’ve copied the code from functions.js to pastie, and you can view/download it here.
http://pastie.org/822905

source

26 comments

Leave a Reply

Your email address will not be published. Required fields are marked *