Example 9 (double zig-zag 3+4)



SweepDist


Curves # Vertices Length
P 5 10.409090709177635
Q 6 16.59025120578416

Distance Value Iters Time (s)
Fréchet, exact (frechet_c_compute_exact) 1.5983829157900862 0.000125
Fréchet, within 1 + 10-5 (frechet_c_compute) 1.5983841479698484 0 0.00361
VE Fréchet (frechet_ve_r_compute) 0.43467993585364817 24 3.67e-05
Times are wall-clock seconds of one run, single-threaded, on the machine that built the gallery (after compilation).

Animation: Fréchet morphing

This is the animation of the morphing computed that is both continuous and monotone.


Animation: VE Retractable Fréchet

This is the animation of the VE retractable morphing. It is potentially not monotone (but it is continuous.


Free space diagram heatmap:


graph + free space : graph

With the grid


VE-Fréchet Retractable solution:


Monotonized...

Fréchet cont+monotone solution:


Discrete Fréchet

Generated by sampling 10 points along each edge...

The resulting morphing - extended to continuous:

Specifically, to get a smooth animation, the leash is shown as moving continuously, by interpolating between the discrete locations.


The discrete retractable version


The discrete dynamic time warping


P # vertices: 51
P # vertices: 54
DFréchet iters : 2754
Retract DFréchet iters : 848

Animation: Fréchet morphing as morphing


2026-11-28 14:03:36