KEMBAR78
Java Script Animation | PPT
JavaScript Animation
Roll Your Own
One-offs
meets immediate needs
probably not reusable
difficult to maintain in the long run
Javascript Libraries
jQuery
Script.aculo.us/Prototype
YUI
Dojo
Animation Libraries
$fx()
Jstween (JAVASCRIPT MOTION
TWEEN)
Jsanim
CSS-based Animation
animate numeric properties
modular
limited by its values
Collection of Methods
Can address any animation need
Must write a method for each property
Becomes very unwieldy quickly
Burdensome to remember all the
methods
Factory/Strategy Pattern
Small number of main methods to
calculate all needed values.
Easy to maintain and extend
We’re Hiring!
Bee Tan, Hiring
Manager
510 307-8225

Java Script Animation