I am implementing Bezier curve offset.My approach is simple:Given the handles, calculate the vectors normal to themMove the handle along the normal vector.If the new curve intersects the old one, reverse the offset direction.etc.I would like to find an alternative to step 3. I believe the problem comes from my careless handling of vector maths (mainly calculations involving the cross product). Are there other ways to check the offset direction other than the one I just described?
Checking the correct offset direction for Bezier curve offset
bezier curve