banner ad
Friday, June 26, 2009
Towards Y : Vertical filmstrip animation

This vertical JavaScript filmstrip is adapted form yesterdays Towards X : Horizontal filmstrip animation post.  The code is similar except for the css that edits the "top" property.  What I tried doing in these experiments is create X|Y|Z properties to html elements in order to directly control their positioning in 3D space.  My next post will explore the Z axis in 3D space.

	// Find next position according to Camera
y = dir*(oCamera.dy - el.y);
// Position
el.setStyle('top',y);


»comments
Name
URL
Email
*email address is not published
Remember Me
Comments

CAPTCHA






banner ad