Example 1 - ellipse.tao

This script creates an elliptical sheet, locks the whole perimeter and then applies a short impulse to the sheet at a point (x=0.15,y=0.5).

    Audio rate: 44100;
        
    Ellipse ellipse(200 Hz, 400 Hz, 20 secs);
        
    Init:
        ellipse.lockPerimeter();
        ...
        
    Score 5 secs:
        At 0 secs for 0.5 msecs:
            ellipse(0.15,0.5).applyForce(linear(30,0));
            ...
        ...


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