Geometry Expressions

Center of Curvature

We generate code for the center of curvature of a curve.

First create a parametric curve with X=f(T), Y=g(T).

Animation: creating a parametric curve X=f(T), Y=g(T)

Now create a tangent to the curve at parametric location t.

Animation: creating a tangent to the curve at parameter t

Create the normal.

Construct the envelope of the normal as t varies. This is the evolute curve, the locus of the centers of curvature.

Animation: creating the normal and its envelope, the evolute

Put a point on the evolute at parametric location t.

Animation: putting a point on the evolute at parameter t

Create the circle of curvature.

Animation: creating the circle of curvature

View the coordinates of the center of curvature.

Animation: showing the coordinates of the center of curvature

Copy as Java

Animation: copying the coordinates as Java

And paste into a code editor.

Animation: pasting the Java code into a code editor


Note we have placeholder generic functions f() and g() and numerical approximations to their first and second deivatives, which appear in the formula for the center of curvature.