This script draws an “Euler’s Spiral” also known as “Cornu Spiral”.
Two Fresnel integrals have to be calculated, this code uses a Maclaurin series approximation.
It also uses a function coded in Python to draw a line between any two x,y points.
It is possible to draw this spiral using the Numworks calculator’s graphing app as well.