
1
00:00:00,100 –> 00:00:02,433
Let’s take a look at the speed
CHOP.
2
00:00:02,433 –> 00:00:08,500
The speed CHOP uses an input
value as a rate of change.
3
00:00:08,500 –> 00:00:11,867
It outputs this change over
time.
4
00:00:11,867 –> 00:00:18,633
In this example, we will use a
constant CHOP to set the rate of
change.
5
00:00:18,633 –> 00:00:26,267
With a value of 1, the rate of
change is 1 times 60 per second.
6
00:00:26,267 –> 00:00:32,000
The output of the speed CHOP
will increase by 1 every second.
7
00:00:32,000 –> 00:00:39,667
With a value of .5, the speed
CHOP will increase by .5 every
second.
8
00:00:39,667 –> 00:00:50,567
We can use the speed CHOP to
easily create time or animation
engines that are independent of
the global frame rate of Touch
Designer.
9
00:00:50,567 –> 00:00:51,300
—
10
00:00:51,300 –> 00:00:57,533
This example network shows the
basics of a commonly used
animation engine.
11
00:00:57,533 –> 00:01:02,667
We want an animation to be
driven by user input.
12
00:01:02,667 –> 00:01:08,567
When the button is clicked, its
state changes from 0 to 1.
13
00:01:08,567 –> 00:01:16,567
A chop execute DAT will run a
Python expression that resets a
speed CHOP.
14
00:01:16,567 –> 00:01:17,400
—
15
00:01:17,400 –> 00:01:26,433
We use the output of the speed
CHOP to drive an animation, in
this case the size of a
rectangle.
16
00:01:26,433 –> 00:01:34,000
In the rectangle TOP, I multiply
the speed CHOP value by 20, so
we can better see its effect.
17
00:01:34,000 –> 00:01:39,333
When I click the button, its
state changes from 0 to 1.
18
00:01:39,333 –> 00:01:43,767
I’ve set the speed CHOP’s limit
type to “Clamp”.
19
00:01:43,767 –> 00:01:49,800
This forces the speed CHOP to
hold at a maximum value, in this
case 10.
20
00:01:49,800 –> 00:01:56,967
If the button state is 0, the
“Reset” parameter of the speed
CHOP will be pulsed.
21
00:01:56,967 –> 00:01:59,700
This resets the speed CHOP.
22
00:01:59,700 –> 00:02:01,200
—
23
00:02:01,200 –> 00:02:09,300
This user interaction can take
place at any point on the Touch
Designer master timeline.
24
00:02:09,300 –> 00:02:11,300
—