Suppose we are given some 2d path geometry. Is there an algorithm that could produce a new path that "wraps" the geometry in a similar form as below?
The effect should be similar to how an object looks when it is shrink-wrapped. Thanks in advance
Suppose we are given some 2d path geometry. Is there an algorithm that could produce a new path that "wraps" the geometry in a similar form as below?
The effect should be similar to how an object looks when it is shrink-wrapped. Thanks in advance

You could try using quadratic splines with anchors at the vertices at the start of a concave area, and a control point at a location inside the concave area.
The control point location will have to be determined based on the local geometry.
something like this, maybe?
The algorithm could be: