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
From: "Martin Wood" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Friday, February 17, 2006 6:14 PM
Subject: [Bulk] Re: [Flashcoders] seeking :: Oscillating SineWaves via
Drawing API
its quick and its dirty but it should give you something to work
woohoo! this is perfect!
u da man!
thanks Martin!
a
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier
its quick and its dirty but it should give you something to work with :
for(var n=0;n<3;n++)
{
var sinewave:MovieClip = _root.createEmptyMovieClip("sinewave" + n,n+1);
sinewave._y = 100;
sinewave.phase = n * 10;
sinewave.frequency = ((n + 1) * 5
its 3 waves that need to appear randomly oscillating in height..
Could could just draw a few sinewaves, duplicate them at different
yscale,
etc. and then have them loop?
Is it supposed to fake something in particular or just some
random
sinewaves? Multiple non-changing but differnet waves? Or
Could could just draw a few sinewaves, duplicate them at different yscale,
etc. and then have them loop?
Is it supposed to fake something in particular or just some random
sinewaves? Multiple non-changing but differnet waves? Or is it 1 wave that
needs to change a lot?
On 2/17/06, artur <[EMAIL
sorry for the repost but..
im a bit under the gun...and i looked EVERYWHERE!
i need a drawing api function or fla
that can produce multiple flowing sinewaves.
the waves should be random in oscillating and appear to be flowing
organically.
please help!
thanks
artur
7 matches
Mail list logo