Animate the Tangent and Normal to a Function 

FrenetSerretSystem, when given a scalar function f, will compute the curvature and basis of the graph of f. This basis consists of the tangent and normal to the graph.

Define the function and create a plot.

In[1]:=
Click for copyable input
X

Compute the tangent, normal, and points on the curve.

In[2]:=
Click for copyable input
X

Create the animation.

In[3]:=
Click for copyable input
X
       
Click to play animation