Parametric Equations with Nested Elements

Cross-Browser DHTML Animation using the CBE API by Mike Foster, and parametric equation algorithms by Sebastien Chevrel.


Enter a Javascript Expression:
X(t) =
Y(t) =

Apply To:
Parent
Children

Or Select a Sample:
X(t)

Y(t)

0 0
Math.cos(t) % t Math.sin(t) % t
Math.cos(t*15) Math.sin(t*15)
Math.sin(t*7) Math.cos(t*7)
Math.tan(t*10) Math.tan(t*10)
Math.tan(t*9) * Math.cos(t*3) Math.tan(t*9) * Math.sin(t*3)
Math.cos(t*15) * Math.cos(t) % t Math.sin(t*15) * Math.sin(t) % t
Math.sin(t*2)*Math.sin(t*4.2)*Math.sin(t*5.1) Math.sin(t*1.123)*Math.sin(t*7)*Math.sin(t*2.31)
.2*t*Math.cos(t*30) .2*t*Math.sin(t*30)
Parent Border ( IE Only )