So I want to make a mobile app where you can draw lines and then interpolate them with a spline. I used this bezier spline method: https://gist.github.com/anonymous/06f4104d93f6cef6f341 But it draws weird stuff if my line is not of form f(x) and it sometimes preserves sharpness around control points. Is there a better method for what I'm trying to do?
Simple line before
Simple line after
Complex curve before
Complex curve after


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.