The spiral of Cornu appears in the study of diffraction in optics:

The curve is parametrically defined by the Fresnel cosine and sine integrals:

\[ \left[ ~ \int_0^x \cos \left( \frac{\pi}{2} t^2 \right) dt ~ , \int_0^x \sin \left( \frac{\pi}{2} t^2 \right) dt \right] ~ \]

This example requires the higher-level mathematics of Math.

Complete code for this example:





Examples Page