How to offset a cubic bezier curve?

admin

Administrator
Staff member
I'm trying to create a "parrallel" bezier curve. In my attempts I've gotten close but no cigar. I'm trying to keep a solid 1px offset between the 2 curves (red,blue).

<img src="https://content.screencast.com/user...9f-4e3b-871e-2ce05fc48c11/2010-11-10_1305.png" alt="current attempt">

My main goal is use a edge offseting algorythm to expand/shrink a svg path.

<hr>

<strong>Solution</strong>

For anyone else who is looking for a solution, I've create a AS3 version.

<a href="http://seant23.wordpress.com/2010/11/12/offset-bezier-curves/" rel="noreferrer">http://seant23.wordpress.com/2010/11/12/offset-bezier-curves/</a>