Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I did some experiments with shaders to stroke bezier curves many years ago, and iirc, the easiest (reasonably efficient) route I found if you have a cubic spline is to fit a quadratic spline to it first, then just transform and solve it as distance to a parabola.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: