Re: [Flashcoders] seeking :: Oscillating SineWaves via Drawing API -let's get some some fun

2006-02-20 Thread Danny Kodicek
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

Re: [Flashcoders] seeking :: Oscillating SineWaves via Drawing API - let's get some some fun

2006-02-19 Thread Serge
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