> Hello leolea
> 
> > I'm trying to figure out a way to have objects "snap" to 
> this curved 
> > line. I would distribute them over the _x axis, and I need 
> a formula 
> > to get their _y position on the curved line.
> 
> - you need to find an intersections between 2D Bezier curve 
> and vertical lines.
> Uou can use our geom package for it:
> http://www.bezier.ru/rus/AS2/sources/ru.bezier.zip
> 
> good luck!

Be aware, though, that the vertical line might well not give you the closest
point on the curve. If you want to find the closest point on the bezier to a
given point, that's a slightly different problem (for a quadratic bezier it
amounts to solving a cubic equation)

Best
Danny

_______________________________________________
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

Reply via email to