Hello Keith
>> is there a way to calculate a point midway along the curve?
> private function findPointOnCurve(p1x:Number, p1y:Number, cx:Number,
- this method can return midway along the curve if
bezier curve is symmetrical only.
finding point on curve by time iterator is very different thing t
Thanks everyone, looks great - definitely have some things to go on.
That method looks to be exactly what I needed Keith - will look at the
other links as well.
Jason Merrill
Bank of America
GT&O L&LD Solutions Design & Development
eTools & Multimedia
Bank of America Flash Platform Developer
> Jason Merrill wrote:
> I am drawing a bezier curve using:
>
> mySprite.graphics.curveTo(X1, Y1, X2, Y2);
>
> Works, and so I know where the control point is, and the desintation
> point, but is there a way to calculate a point midway along the curve?
> I'd like to position a sprite there.
Merrill, hello again
please look at this link:
http://bezier.googlecode.com
this link also in my sign.
if you can't find needed example in demo
http://flash-ripper.com/tests/bezier.ru/demo/test.swf
please explain what you need exactly
--
iv
http://www.bezier.ru
http://bezier.googlecode.com
Hello Merrill,
I think my previous answer is shortest correct
answer in this list :)
--
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/fl
Hello :)
With the curveTo method you can't find the bezier equation ;)
http://www.timotheegroleau.com/Flash/articles/cubic_bezier_in_flash.htm
you must use custom maths method
In my opensource framework for example :
http://svn1.cvsdude.com/osflash/vegas/AS3/trunk/src/pegas/util/BezierUtil.as
out our internal GT&O Innovative Learning Blog & subscribe.
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] On Behalf
>>Of Ivan Dembicki
>>Sent: Monday, March 03, 2008 5:51 PM
>>To: Flash Coders List
>>Subj
Hello Merrill
--
iv
http://www.bezier.ru
http://bezier.googlecode.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
I am drawing a bezier curve using:
mySprite.graphics.curveTo(X1, Y1, X2, Y2);
Works, and so I know where the control point is, and the desintation
point, but is there a way to calculate a point midway along the curve?
I'd like to position a sprite there.
Jason Merrill
Bank of America
GT&O L&
9 matches
Mail list logo