The (signed) distance to f(x,y)=0 can be approximated by d=f/|∇f|. Let the offset be o, the implicit equation of the offset curve can be written as f/|∇f|=o, or f²=o²·∇²f.
22
Quadratic Curve Example
23
Trigonometric Curve Example
27
Quartic Curve Example (doesn't work well)
30
Some division-by-gradient examples in 1D
33
Offsetting Explicit Curves: Convert to either explicit or parametric
41
Usually, implicit is faster, but parametric has a better quality
42
Explicit Example: Exponential
43
[Interactive] Sine
47
53
54
powered by
powered by
New Blank Graph
Examples