Using signal generators within expressions, Signal generators – Apple Shake 4 User Manual

Page 947

Advertising
background image

Chapter 31

Expressions and Scripting

947

Using Signal Generators Within Expressions

This section illustrates the use of the various signal generators that are available for
Shake expressions. They can be used to create either predictable or random patterns of
values, and mathematically customized to adjust their offset, frequency, and amplitude.

Signal Generators

The following noise and trig functions all generate changing values over time. To
animate a parameter using these functions , you supply the variable time for the
function to operate upon.

Note: You can copy and paste most of the expressions found in this section into your
own scripts for easy use.

cos(time)

sin(time)

noise(time) lnoise(time)

fnoise(time,1) turbulence(time,1)

Advertising