Creating a rectangular sheet |
Example 1 - rectangle.tao |
Using the Stop device - stop.tao |
Example 2 - rectangle2.taoThis script is similar to the previous one except that the left and right sides of the rectangle are locked instead of all four corners.
Audio rate: 44100;
Rectangle rectangle2(150 Hz, 800 Hz, 20 secs);
Init:
rectangle2.lockLeft().lockRight();
...
Score 5 secs:
At 0 secs for 1 msecs:
rectangle2(0.1,0.1).applyForce(linear(30,0));
...
...
| ||
Creating a rectangular sheet |
Example 1 - rectangle.tao |
Using the Stop device - stop.tao |
| ©1999,2000 Mark Pearson
m.pearson@ukonline.co.uk April 30, 2000 | ||