Currently struggling with producing #SVG for labelling rivers. I need a #BΓ©zier curve offset to place the label on an invisible path next to the river instead of on the river itself. So now I need to implement the heuristic approximation method proposed by Tiller and Hanson. This involves a lot of paper and ink.
https://math.stackexchange.com/a/467038
Image 1 shows the solution I am unhappy with. Image 2 shows the heuristic with simple control point translation. That's not good enough.
@jos That only works for straight rivers. In curves, a different section of the river will now intersect the offset curve and the label on it.
@jos Hm, I guess if you argued that all the labels will be short then the river segment they will be placed on might be straight enough. Iβd have to give it a try with some generated river names.