IFS Encyclopedia

Barnsley Fern

Fractal dimension: ≈ 1.6667

Visualization

Open in IFStile ↗
AIFS program
@
$dim=2
f1=[0,0,0,0.16]
f2=[0,1.6]*[0.85,0.04,-0.04,0.85]
f3=[0,1.6]*[0.2,-0.26,0.23,0.22]
f4=[0,0.44]*[-0.15,0.28,0.26,0.24]
S=(f1|f2|f3|f4)*S

Overview

The Barnsley Fern is a fractal named after British mathematician Michael Barnsley. It is a classic example of an IFS attractor that closely resembles a natural black spleenwort fern (Asplenium adiantum-nigrum). The fern demonstrates how biological shapes can emerge from simple mathematical rules.

Barnsley first described this IFS in his 1988 book Fractals Everywhere. The four affine transformations are chosen so that one maps the entire fern to its stem, one to the successively smaller leaflets, and two to the bottom left and right fronds.

Definition

The Barnsley Fern is defined by four affine transformations applied with given probabilities:

Transformation 1 — Stem

f1(x,y)=(0000.16)(xy),p1=0.01f_1(x,y) = \begin{pmatrix}0 & 0\\0 & 0.16\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix}, \quad p_1 = 0.01

Transformation 2 — Successively smaller leaflets

f2(x,y)=(0.850.040.040.85)(xy)+(01.6),p2=0.85f_2(x,y) = \begin{pmatrix}0.85 & 0.04\\-0.04 & 0.85\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix} + \begin{pmatrix}0\\1.6\end{pmatrix}, \quad p_2 = 0.85

Transformation 3 — Left frond

f3(x,y)=(0.20.260.230.22)(xy)+(01.6),p3=0.07f_3(x,y) = \begin{pmatrix}0.2 & -0.26\\0.23 & 0.22\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix} + \begin{pmatrix}0\\1.6\end{pmatrix}, \quad p_3 = 0.07

Transformation 4 — Right frond

f4(x,y)=(0.150.280.260.24)(xy)+(00.44),p4=0.07f_4(x,y) = \begin{pmatrix}-0.15 & 0.28\\0.26 & 0.24\end{pmatrix}\begin{pmatrix}x\\y\end{pmatrix} + \begin{pmatrix}0\\0.44\end{pmatrix}, \quad p_4 = 0.07

Properties

References

Similar

Pythagoras Tree
planeself-similarnaturalistictilingalgebraic
Ammann–Beenker Tiling
planetilingquasicrystalalgebraicgifs
Ammann–Beenker Dual
planeself-similaraperiodic-tilingquasicrystalalgebraic
Edit this page on GitHub ↗