Example 1 - circle.tao

This script creates a single circular sheet, locks its entire perimeter, and then applies a linearly changing force at a point (x=0.3,y=0.3) for an interval of 1 millisecond.

    Audio rate: 44100;
        
    Circle circle(300 Hz, 20 secs);
        
    Init:
        circle.lockPerimeter();
        ...
        
    Score 5 secs:
        At 0 secs for 1 msecs:
            circle(0.3,0.3).applyForce(linear(40,0));
            ...
        ...


©1999,2000 Mark Pearson m.pearson@ukonline.co.uk April 30, 2000