Hacker News new | ask | show | jobs
by tobr 747 days ago
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.
1 comments

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