Animator: Script Example 10

Doppler

Reinitialize

The Doppler object is a subclass of the Circle object that can emit wave crests at a predetermined rate.

document.animator.addObject("doppler","r=10,c=1,n=20,period=1")

The following parameters are define for the Doppler object:

Doppler objects, like all other geometric shapes, can be made dynamic using the setForce method.

NOTES