View Full Version : api curving
radicaljugnu
October 10th, 2003, 12:30 PM
can anyone just tell me the basic drawing api AS, in the preload bar of www.actionscript.cl
lostinbeta
October 10th, 2003, 12:34 PM
Well that preloader isn't exactly basic. It may use basic drawing API commands, but if it was done with the drawing API I would think it uses multiple points that are moved randomly on the _y axis using a Math.cos() or Math.sin() function, and then multiple curveTo()s to connect all those points but have random controlY points.
Here is a tutorial on the drawing API (which you may have seen already), but the rest is up to you ;)
http://www.kirupa.com/developer/actionscript/tricks/drawing_api.htm
radicaljugnu
October 10th, 2003, 12:46 PM
thx for the quick reply, lost. I've seen that tutorial. I guess I'll be looking into my maths textbook...
lostinbeta
October 10th, 2003, 12:50 PM
Have fun :)
Just remember you are dealing with Lifaros, someone so great at Actionscript that he writes for Friends of Ed. I don't know which books he has written chapters for, but I know he worte and did some amazing experiments for Flash Math Creativity (those experiments can be seen at actionscript.cl as well). So keep in mind that it won't be easy, but if you keep pressing on you might be able to get it.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.