IFS Encyclopedia

Heighway Dragon

Fractal dimension: 2

Visualization

Open in IFStile ↗
AIFS program
@
$dim=2
s=$companion([1,0])
g=s+1
A=(s*g^-1|[1,0]*s^2*g^-1)*A

Overview

The Heighway dragon curve was first investigated by NASA physicist John Heighway and later popularised by Martin Gardner and Donald Knuth. It is most famously associated with the paper folding sequence: repeatedly fold a strip of paper in half in the same direction, then unfold each crease to a right angle. After infinitely many folds, the result is the dragon curve.

Definition

The IFS lives in Z[i]\mathbb{Z}[i] (the Gaussian integers), controlled by x2+1=0x^2+1=0. The companion matrix ss (defined as $companion([1,0]) in AIFS) satisfies s2+1=0s^2+1=0, so sis \leftrightarrow i in the projected plane. The expansion g=s+11+ig = s+1 \leftrightarrow 1+i has g=2|g|=\sqrt{2}, so g1g^{-1} contracts by 12\frac{1}{\sqrt{2}}.

MapAIFSComplex formRotation
f1f_1s*g^-1i1+i=1+i2\frac{i}{1+i} = \frac{1+i}{2}+45°+45°
f2f_2[1,0]*s^2*g^-111+i=1+i2\frac{-1}{1+i} = \frac{-1+i}{2}135°-135°

Note: s2=1s^2 = -1, so s2g1=11+i=1+i2s^2 \cdot g^{-1} = \frac{-1}{1+i} = \frac{-1+i}{2}.

The only difference from the Twin Dragon is the second map: s^2*g^-1 (rotation 135°-135°) here versus s^3*g^-1 (rotation +135°+135°) there.

Both maps share the fixed common image f1(1,0)=f2(1,0)=(12,12)f_1(1,0) = f_2(1,0) = (\tfrac{1}{2}, \tfrac{1}{2}).

Properties

Paper Folding Connection

The sequence of fold directions when unfolding (R = right, L = left) follows the recurrence:

a2k(2m+1)={Rif k is evenLif k is odda_{2^k(2m+1)} = \begin{cases} R & \text{if } k \text{ is even} \\ L & \text{if } k \text{ is odd} \end{cases}

This regular paper folding sequence encodes the entire structure of the dragon curve.

All four of the following IFS share the same algebraic skeleton — two maps contracting by 12\frac{1}{\sqrt{2}} over Z[i]\mathbb{Z}[i] with expansion g=1+ig = 1+i — differing only in the power of ss for the second map and the choice of translations:

IFSSecond map rotationTranslation
Lévy C Curve45°-45° (g^-1)(0,0)(0,0) and (12,12)(\tfrac{1}{2},\tfrac{1}{2})
Pythagoras Tree45°-45° (g^-1)(0,1)(0,1) and (12,32)(\tfrac{1}{2},\tfrac{3}{2})
Heighway Dragon+135°+135° (s^2*g^-1)(0,0)(0,0) and (1,0)(1,0)
Twin Dragon135°-135° (s^3*g^-1)(0,0)(0,0) and (1,0)(1,0)

References

Similar

Lévy C Curve
planecurveself-similartilingalgebraic
McWorter's Pentigree
planecurveself-similarpentagonalalgebraicclassic
Ammann–Beenker Tiling
planetilingquasicrystalalgebraicgifs
Edit this page on GitHub ↗