Home Contents Forum Links Tip Jar
Animation Math in Lingo       

Multiple Drivers

When an animation is based on several factors in the program, each factor is a driver of the animation and will drive a separate parameter. This concept is displayed in the Circular Motion demo, where there are two sliders as well as an elapsed time driver.

These parameters may drive different properties separately, or may be used together in driving a property. For example, in the Circular Motion demo the vertical slider parameter and time parameter together determine locv, while the horizontal slider parameter and time parameter determine loch. Writing that in a general form:

sp.loch = circleX(pTime, pHoriz)
sp.locv = circleY(pTime, pVert)

circleX is the animator function for loch, and circleY is the animator function for locv.

 
 


Copyright © 2003 JM Harward 
 jmckell~at~jmckell~dot~com
All lingo provided on this site may be used freely for educational purposes. Not for redistribution as uncompiled code. Instructional materials may not be reproduced without permission.