OZONE Asylum
Forums
Multimedia/Animation
point to point
This page's ID:
28337
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
No, not unless you write an algorithm to smooth it yourself. You can draw curves with the drawing APIs curveTo() method, but for anything more than 3 points you'll run into issues. If you want to average several points to create a smoother line, then using a basic quadratic bezier algorithm would be the simplest and fastest way to have at it. There's a dead simple paper about how it's done here: http://www.math.washington.edu/~king/coursedir/m445w01/lab/lab04/lab04.html There's also some info here about how to implement [url=http://www.timotheegroleau.com/Flash/articles/cubic_bezier_in_flash.htm]cubic bezier curves in flash[/url], but that's probably overkill for what you want. [small](Edited by [url=http://www.ozoneasylum.com/user/992]Dracusis[/url] on 10-16-2006 13:04)[/small] [small](Edited by [url=http://www.ozoneasylum.com/user/992]Dracusis[/url] on 10-16-2006 13:05)[/small]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »