jazzmutant lemur User Manual

Page of 107
 
94 
By multiplying time by a value greater than 1, you produce a sequence of values that 
increase faster than clock time. By multiplying time by a value less than 1, you will 
produce a sequence of values that increase more slowly than clock time. You can use the 
modulo operator (%) creates a repeating sequence of values that resembles a sawtooth 
wave. For example time % 1 produces a ramp from 0 to 999 that occurs over the course 
of a second. 
Here are some example expressions created using the time variable.  
Time Code Example 
Use Monitor objects to display the values of the following expressions: 
 
Frames = (time % 0.25) * 100 
Hours = floor(time/3600) 
Minutes = floor(time/60) % 60 
Seconds = floor(time % 60) 
Create global variables for each of these expressions. Then you can use the variables in 
other Lemur objects. For example, here is the Properties Browser view for a monitor 
object that would display a global Seconds variable. 
 
Even if you are not connected to a Lemur, the resulting Monitor object will begin changing 
immediately after you enter a time-based variable.