Sample codes

Mathematica code for computing the CMEF of a 2D polynomial Bézier curve

https://notebookarchive.org/2024-06-1xe104l


The upper left figure is a cubic Bezier curve.  The upper right is the curvature plot. The lower left is the CMEF, whereas the lower right is the dk/ds.

Mathematica code for computing alpha (the slope of logarithmic curvature graph) 

https://notebookarchive.org/2024-06-1ucl8i6


The left figure shows how alpha (the slope of LCG) of a hyperbolic spiral varies with respect to the parameter t.