EditSafely

Generate a Terdragon Curve

Draw a triple dragon fractal. Runs entirely in your browser, so your data never leaves your device.

Output

The result appears here as you type.

Options

How to use Generate a Terdragon Curve

  1. 1. Set the iteration count. Choose Iterations for how many times the line folds at 120-degree angles. A 7-iteration terdragon already shows the characteristic triangular folding pattern in detail.
  2. 2. Size the canvas. Set Width (px) and Height (px) to fit the folded shape, keeping in mind that 120-degree folds spread the curve differently than the 90-degree folds of the standard dragon curve.
  3. 3. Pick colors and line width. Choose Line color, Background color and Line width depending on whether you want individual folds visible or the overall triangular silhouette emphasized.
  4. 4. Review the rendered curve. The tool draws the terdragon as a single line folded at 120-degree angles into a triangular dragon shape, rendered as an SVG. Save it once the detail level looks right.

When to use Generate a Terdragon Curve

Generate a Terdragon Curve draws a variant of the dragon curve family that folds at 120-degree angles instead of the standard 90 degrees, producing a triangular rather than square-grid based shape. It is the building block used in the six-armed hexadragon fractal.

  • Understanding the hexadragon's building block. The hexadragon fractal arranges six terdragon curves around a center point, so rendering a single terdragon first helps students understand the base shape before seeing the composite rosette.
  • Comparing 90-degree and 120-degree dragon folds. Placing the terdragon next to the standard dragon curve at the same iteration count shows how the fold angle changes the underlying grid and resulting silhouette.
  • Teaching triangular grid recursive constructions. Most dragon-curve teaching material uses a square grid. The terdragon introduces a triangular grid variant, broadening students' sense of what fold angles are possible.
  • Producing an unusual angular art piece. The terdragon's 120-degree folding pattern gives it a distinct triangular texture from the more common square-grid dragon curve, suited to a design wanting an unconventional angular look.

Examples

A 7-iteration terdragon

Output

An SVG drawing of the terdragon: a single line folded at 120-degree angles into a triangular dragon.

About the Generate a Terdragon Curve tool

Generate a Terdragon Curve does its work locally, right in the browser. Draw a triple dragon fractal. There is no upload step, no queue and no account, and your data never travels over the network.

It belongs to the Math Tools collection on EditSafely, a set of 234 small, focused Math utilities that share the same instant, private workspace.

You can shape the output with 6 settings, including Iterations, Width (px), Height (px) and Line color, and the result refreshes the moment you change one. A worked example further down the page shows exactly what the tool produces for a real input.

Running locally also makes the tool fast and dependable: results appear as you type or drop a file, there is no server outage that can take it down mid-task, and confidential data can be processed without a second thought.

Frequently asked questions

Is Generate a Terdragon Curve free to use?

Yes, it is completely free. All 2,658 tools on EditSafely work without an account, a subscription or usage limits.

Does the generator send anything to a server?

Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.

How do I get a different result?

Run the generator again. Each run is computed fresh on your device, and any options you change are applied to the next result immediately.

Do I need to sign up or install anything?

No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.

Can I save what the tool produces?

Yes. Use the download or copy controls in the output panel to keep the rendered result once it looks the way you want.

Related tools

All Math Tools