caustic, a Python code which generates an image of a caustic, by drawing n equally spaced points in a circle, and then connecting specific pairs of points using a spacing parameter m.


The computer code and data files described and made available on this web page are distributed under the MIT license

Related Data and Programs:

epicycloid, a Python code which computes, plots and tabulates an epicycloid curve.

fern, a Python code which displays the Barnsley fractal fern.

fibonacci_spiral, a Python code which displays points on a Fibonacci spiral, suggesting the arrangement of seeds in a sunflower, for instance.

hilbert_curve, a Python code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.

mandelbrot, a Python code which generates an image of the Mandelbrot fractal set;


  1. Cleve Moler,
    modfun, A Short Program Produces Impressive Graphics,
    Posted 17 October 2022.

Source Code:

Last revised on 19 December 2022.