Hacker News new | past | comments | ask | show | jobs | submit login

Nice, fancy approach. The stupid simple approach I’ve used is to sample each path with path.getPointAtLength() at an appropriate resolution, and use that to approximate the paths with many short straight lines segments which are trivial to interpolate between.



Microsoft’s WPF does this and then applies a bezier recovery algorithm to (approximately) get the curves back.




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

Search: