Math
Runs Locally in Browser

Heighway Triangle Generator

Visualize recursive Binary Dragon and Terdragon triangle subdivisions locally with PNG/SVG export.

Last updated:

Presets

Quick-load beautiful designs

Fractal Geometry

Parameters and depths

Aesthetics & Colors

Colors, strokes and canvas backgrounds

Animation controls

Trace and watch curves generate

Zoom: 100%
Binary DragonDepth: 10
Line Segments1,024
Total Triangles1,024
Curve Length32.0 px
Boundary D1.5236

How to Navigate the Viewport

Click and drag your mouse on the canvas area to pan around the fractal curve. Use your scroll wheel (mouse scroll) or pinch gestures on trackpads to zoom in and out. If the fractal goes out of view, click the Recenter button at the top left of the viewport bar to return to default scale bounds.

About Heighway Triangle Generator

Toggle between Binary Dragon and 120° Terdragon recursive subdivisions across depths 1–8 locally, customize stroke/mesh gradients, and export PNG or SVG.

Runtime

Client-side Canvas & SVG recursive triangle subdivision renderer.

Formats

Export: PNG or Vector SVG.

Constraints

Depth slider caps at 8 subdivisions for smooth frame rates.

Discover More Tools

Related utilities across the Imgira catalog.

Explore All Tools