You're looking for sin. Cosine (cos) will do about the same thing, but
it starts where your example ends - but both have the same shape when
left to go forever.
The only hitch is that you want to look at the sin of angles 0 -180, but
when you use sin or cosine, you need to convert to radians to use it.
Radians are degrees times Pi/180. So if you wanted to look at the
vertical value of your point at 134 degrees, it would be: sin( 134 x
Math.Pi / 180 );
ben
til wrote:
Does anyone know what formula yields a curve that looks sorta like this?
http://hosted.zeh.com.br/mctween/examples/tracer.swf?mode=easeinoutquad
~Til
_______________________________________________
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
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 Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com