Twin Dragon
Visualization
AIFS program
@
$dim=2
g=[1,-1,1,1]
A=g^-1*([-1,0]|[1,0])*A
Overview
The Twin Dragon (also called the twindragon or Davis–Knuth dragon) is a self-similar fractal with Hausdorff dimension 2 — it has positive area and is a connected solid region. It is formed by joining two copies of the Heighway Dragon along their boundaries; the two copies fit together perfectly because the Heighway Dragon’s boundary is a matching fractal curve.
The Twin Dragon is a rep-2 tile: two congruent copies tile a scaled copy of itself, and by repeating this, four copies of the Twin Dragon tile the plane.
Algebraic Structure
The IFS is controlled by the polynomial , whose roots are . The expansion matrix is:
The matrix represents complex multiplication by : it expands distances by and rotates by 45°. Its inverse corresponds to multiplication by .
IFS Definition
The Twin Dragon is the unique non-empty compact set satisfying:
where the two maps use symmetric shifts along the real axis:
Both pre-maps are pure translations. Expanding:
Both maps share the same linear part and differ only in translation. In complex notation:
The attractor is symmetric about the origin (maps are related by ). Both maps contract by , giving self-similar dimension .
Properties
- Hausdorff dimension: exactly — the set has positive Lebesgue measure
- Contraction ratios: both and contract by ; Moran equation:
- Tiling: two Twin Dragons (one original, one rotated 180°) tile a -scaled copy; four copies tile the plane
- Relation to Heighway Dragon: the Twin Dragon is the union of a Heighway Dragon and its image under (the 180° rotation about the midpoint )
- Number system: the Dragon is the set of all with — balanced binary expansions in base , centered at the origin
- Polynomial: with root ;
Aspect Ratio from Second Moments
The geometric aspect ratio of the Twin Dragon — the ratio of standard deviations along the principal axes of its area distribution — equals exactly , where is the golden ratio. This is surprising: the Twin Dragon is defined purely via the Gaussian integer , with no pentagonal or Fibonacci structure in its construction.
The result follows by solving the covariance fixed-point equation for the self-similar measure. Since the similarity dimension equals 2, that measure coincides with Lebesgue area, so captures the actual shape of the attractor. The matrix satisfies , with unique solution:
The eigenvalues are , giving:
The same constant also governs the orientation: the major axis of the Twin Dragon makes an angle with the horizontal, in the direction .
For a proof see Mekhontsev (2026).
References
- Davis, C. & Knuth, D. E. (1970). Number representations and dragon curves. Journal of Recreational Mathematics, 3(2–4).
- Twin dragon curve — Wikipedia
- Hinsley, S. R. Self-Similar Tiles — Quadratic Pletals (Gaussian integer Z[i] family).
- Mekhontsev, D. (2026). The aspect ratio of the Twin Dragon is 1/φ. Zenodo.