Here is a slight modification:
What will be next steps?
If you want smoother curves and fewer points, and can wait a bit (I'm pretty
busy today), I've written some code a while back that will convert a
sequence of points into a smooth cubic bezier curve. IIRC, curveTo uses
quadratic beziers
Here is a slight modification:
What will be next steps?
var mc = this.createEmptyMovieClip( "mc", 11);
onEnterFrame = function ()
/*
t - time
(x,y)
*/
{
var t = getTimer()/1000; //100
var x0=0, x1 = Math.PI*10;
var imax = 100;
var xy = getData( this, myFunction, x0, x1, t, imax);//
drawLine (mc
2 matches
Mail list logo