Free Online Utility • MATH Studio • Exact BigInt Engine

Generate Heighway Triangle

Three-fold triangular arrangement of Heighway dragon curves radiating at 0°, 120°, and 240° to form a symmetric triangular fractal star. Interactive High-DPI Canvas fractal generator with rainbow/plasma color palettes, order slider (1–12), and PNG/SVG export.

Axiom: FX
Turn Angle: 90° · 3-fold symmetry
Rules: X→X+YF+; Y→-FX-Y
Formula & Quick Reference Live Engine
Axiom:  FX
Rules:  X→X+YF+; Y→-FX-Y
Angle:  90°   |   Hausdorff Dimension: 2.0000 (Boundary ≈ 1.5236)
AxiomFX
Turn Angle90°
Dimension2.0000 (Boundary ≈ 1.5236)
3-FOLD HEIGHWAY DRAGON TRIANGLE
Generate Heighway Triangle
High-DPI HTML5 Canvas & SVG Fractal Engine Vector-crisp

Session Calculation Log

No entries recorded in this session yet.

Complete Technical Guide to Generate Heighway Triangle

Three-fold triangular arrangement of Heighway dragon curves radiating at 0°, 120°, and 240° to form a symmetric triangular fractal star.

Every iteration applies exact deterministic L-system string rewriting and auto-fits the resulting turtle polyline cleanly onto a dark High-DPI Canvas with optional vector SVG export.

L-System Definition of Generate Heighway Triangle

Axiom:  FX
Rules:  X→X+YF+; Y→-FX-Y
Angle:  90°   |   Hausdorff Dimension: 2.0000 (Boundary ≈ 1.5236)

Coloring consecutive segments along a smooth rainbow gradient reveals the exact 1D traversal order across 2D space.

How to Use Generate Heighway Triangle

  1. 1Slide the Iteration Order from 1 to 12 to watch self-similarity emerge.
  2. 2Pick Rainbow, Plasma, Emerald, or Multi-Arm color palettes and adjust stroke width.
  3. 3Download high-resolution PNG or scalable SVG vector artwork with one click.

Reference Examples & Worked Benchmarks

PropertyValueNotes
AxiomFXStarting L-system string
Turn Angle90°Turtle rotation step
Dimension2.0000 (Boundary ≈ 1.5236)Fractal scaling dimension

Practical Applications & Engineering Workflows

Spatial Indexing & Computer Graphics

Space-filling curves map 2D coordinates to 1D memory keys while preserving spatial proximity.

Generative Art & Laser Cutting

Export clean SVG paths directly for plotters, SVG editors, and mathematical posters.

Accuracy, Edge Cases & Best Practices

  • All L-system expansions and Canvas draws happen 100% locally in your browser in milliseconds.

All calculations execute locally inside your browser using JavaScript with zero server round-trips, guaranteeing instant responsiveness and complete data privacy.

Frequently Asked Questions

What is the fractal dimension of Generate Heighway Triangle?
Its Hausdorff dimension is 2.0000 (Boundary ≈ 1.5236).
Can I export this fractal as an SVG vector file?
Yes—click the SVG button (or PNG for arbitrary high-iteration rasters).