Example 2 - circle2.tao

This script is similar to the previous one except that the circle has its left and right edges locked instead of the whole perimeter.

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


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