Something to keep in mind is that converting a cubic to a quadratic will not always work; if the control points that lie off the locus are >= 90 degrees from centre.

I might be wrong, because I am basing it off just visually seeing how a cubic's cage is put together; yet, I am pretty sure what I say is logical. Maybe you can break down the cubic in my above case into two quadratics; however, doing this could prove tricky.

Joel Stransky wrote:
Apparently, even if you're able to access the node list, it's going to a be
a bear to convert from cubic bezier to quadratic.
http://timotheegroleau.com/Flash/articles/cubic_bezier_in_flash.htm

On Tue, Jan 13, 2009 at 7:50 AM, Paul Andrews <[email protected]> wrote:

If all else fails you can always use an animated mask for the reveal..

----- Original Message ----- From: "Todd Kerpelman" <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Monday, January 12, 2009 11:53 PM
Subject: [Flashcoders] Partially drawing a graphic?



 Hey, Flash Coders! Wondering if you can help me out with a little problem
I'm working on...

- I have a complicated piece of vector art in my Flash file.

- I'm basically trying to find a way to "partially" draw it. That is, out
of
the 2000 curves that are in my piece of art, I'd like to randomly draw 50%
of them, and then people can guess what the original piece of art was.

- Speed and elegant coding aren't a primary concern here. It's just a
prototype.

Any ideas of how to do this?

I was hoping I could find some sort of function that would let me iterate
through each curve in my original piece of art, and then I could randomly
decide whether or not to draw each curve into a new graphic, but I can't
seem to find anything like that. If anybody has any clever suggestions,
I'd
love to hear 'em...

--T
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to