I've updated the DynAPI v1 sinewave-class to DynAPI2.
I wrote it very quickly and since mathematics isn't
my strongest side, maybe some things have to be changed.
anyway, put the sinewave.js (should we call it sinewaveanim.js
instead?) in the dynapi/util and the dynapi.util.sinewave.html
in the examples-folder.

(i cant get my WinCvs working s� i'll post the files here..)

/martin
Title: DynAPI Examples - Sinewave Animation

Sinewave
amplitude: 50 | 100
wavelength: 50 | 100
angle increment: 10 | 5
angle: 0 | 90
cycles: 2 | null (loop forever)
direction: 2 | 1
sleep: 20 | 40

play
stop
move back

sinewave.js

Reply via email to