logistic_bifurcation, a MATLAB code which plots the bifurcation diagram for the logistic equation, by John D Cook.
The computer code and data files described and made available on this web page are distributed under the MIT license
logistic_bifurcation is available in a MATLAB version and an Octave version and a Python version.
caustic, a MATLAB 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.
epicycloid, a MATLAB code which plots an epicycloid curve.
fern, a MATLAB code which displays the Barnsley fractal fern.
fibonacci_spiral, a MATLAB code which displays points on a Fibonacci spiral, suggesting the arrangement of seeds in a sunflower, for instance.
hilbert_curve, a MATLAB code which computes the sequence of discrete Hilbert curves whose limit is a space-filling curve.
julia_set, a MATLAB code which computes and plots a Julia set, the set of points in the complex plane that remain bounded under a mapping of the form f(z) = z^2+c.
mandelbrot, a MATLAB code which generates an ASCII Portable Pixel Map (PPM) image of the Mandelbrot fractal set;
mandelbrot_orbit, a MATLAB code which generates the sequence of Mandelbrot iterates arising from a single starting point.
Original Python version by John D Cook. This version by John Burkardt.