51K

# Dragon fractal

World's simplest fractal tool
This utility lets you draw custom and colorful Heighway fractals. You can adjust the size of the fractal, the number of its iterations, and pick the colors for the background and curve line. You can also specify the fractal's thickness, padding, and set the direction of the dragon's head. Fun fact – the dragon fractal can be created from a strip of paper by cleverly folding, unfolding and rotating it. Created by fractal fans from team Browserling. Fractabulous!
announcement check out our new project!
We just created something new for all science fans – SCIURLS – a neat science news aggragator. Check it out!
Recursion and Area
Iterative depth of the fractal.
Fractal width.
Fractal height.
Line and Fill Colors
Heighway dragon line color.
Heighway dragon line width.
Heighway dragon fill color.
Indents and Direction
Drawing indent (in pixels).

## What is a dragon fractal?

This online browser-based tool allows you to draw a personalized dragon fractal. It's also sometimes called Harter-Heighway dragon or simply Heighway dragon. This name comes from physicists John Heighway and William Harter. The dragon fractal is an example of a self-similar curve. The fractal consists of one continuous line and it never intersects. This fractal is one of the few fractals that can be folded from a strip of paper iteratively. To do this, first bend the paper strip in half, then open it at 90-degree angle, rotate it 45 degrees, and bend it again in half. Then repeat this same procedure again. The size of each dragon formed this way in every next iteration is √2 smaller than the previous one. You can also put two dragons back to back and create a Heighway twins fractal. Mind boggling and cool at the same time, or as we love to say – fractabulous!

## Dragon fractal examples

Click to use
Detailed Dragon Fractal
This example draws a detailed Heighway dragon fractal of depth twelve. It uses the ultramarine color for the line, sets it 4 pixels thick and uses an area of 600 by 900 pixels to paint it.
Required options
These options will be used automatically if you select this example.
Iterative depth of the fractal.
Fractal width.
Fractal height.
Heighway dragon line color.
Heighway dragon line width.
Heighway dragon fill color.
Drawing indent (in pixels).
Line-filled Heighway Dragon
In this example, we generate the Heighway fractal at the 15th iteration step. We're using 3 pixels for line thickness and because the lines are drawn very close together, they fill the shape of the fractal. We use a golden-fizz color for the line and resolution-blue color for the background.
Required options
These options will be used automatically if you select this example.
Iterative depth of the fractal.
Fractal width.
Fractal height.
Heighway dragon line color.
Heighway dragon line width.
Heighway dragon fill color.
Drawing indent (in pixels).
Bright Heighway Fractal
This example creates a bright-pink dragon fractal on a yellow background. It runs the fractal algorithm for 17 steps and paints it on an 800- by 1200-pixel canvas with indentation of 15 pixels around the canvas edges.
Required options
These options will be used automatically if you select this example.
Iterative depth of the fractal.
Fractal width.
Fractal height.
Heighway dragon line color.
Heighway dragon line width.
Heighway dragon fill color.
Drawing indent (in pixels).
Pro tips Master online fractal tools
You can pass options to this tool using their codes as query arguments and it will automatically compute output. To get the code of an option, just hover over its icon. Here's how to type it in your browser's address bar. Click to try!
All fractal tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly draw a custom McWorter dendrite fractal.
Quickly draw a custom canopy tree fractal.
Quickly draw a custom Gosper fractal.
Quickly draw a custom Z-order fractal.
Quickly draw a custom Hilbert fractal.
Quickly draw a custom binary v-fractal.
Quickly draw a custom Peano fractal.
Quickly draw a custom Heighway dragon fractal.
Quickly draw a custom twin dragon Heighway fractal.
Quickly draw a custom Heighway nonadragon fractal.
Quickly draw a custom Koch fractal.
Quickly draw a custom triflake fractal.
Quickly draw a custom Sierpinski triangle fractal.
Quickly draw a custom Sierpinski pentagon fractal.
Quickly draw a custom Sierpinski hexagon fractal.
Quickly draw a custom Sierpinski polygon fractal.
Quickly draw a custom Moore fractal.
Quickly draw a custom Cantor comb fractal.
Quickly draw a custom Cantor dust fractal.
Quickly draw a custom Levy fractal curve.
Quickly draw a custom ice fractal.
Quickly draw a custom Pythagoras tree fractal.
Quickly draw a custom t-square fractal.
Quickly draw a custom Hausdorff tree fractal.
Coming soon These fractal tools are on the way
Generate a Hilbert Sequence
Walk the Hilbert fractal and enumerate its coordinates.
Generate a Peano Sequence
Walk the Peano fractal and enumerate its coordinates.
Generate a Moore Sequence
Walk the Moore fractal and enumerate its coordinates.
Generate a Hilbert String
Encode the Hilbert fractal as a string.
Generate a Peano String
Encode the Peano fractal as a string.
Generate a Moore String
Encode the Moore fractal as a string.
Generate a Cantor String
Encode the Cantor set as a string.
Generate a Dragon String
Encode the Heighway Dragon as a string.
Generate a Sierpinski String
Encode the Sierpinski fractal as a string.
Sierpinski Pyramid
Generate a Sierpinski tetrahedron (tetrix) fractal.
Cantor's Cube
Generate a Cantor's cube fractal.
Menger Sponge
Generate a Sierpinski-Menger fractal.
Jerusalem Cube
Generate a Jerusalem cube fractal.
Mosely Snowflake
Generate a Jeaninne Mosely fractal.
Mandelbrot Tree
Generate a Mandelbrot tree fractal.
Barnsey's Tree
Generate a Barnsley's tree fractal.
Barnsey's Fern
Generate a Barnsley's fern fractal.
Binary Fractal Tree
Generate a binary tree fractal.
Ternary Fractal Tree
Generate a ternary tree fractal.
Dragon Fractal Tree
Generate a dragon tree fractal.
De Rham Fractal
Generate a de Rham curve.
Takagi Fractal
Generate a Takagi-Landsberg fractal curve.
Peano Pentagon
Generate a Peano pentagon fractal curve.
Tridendrite Fractal
Generate a tridendrite fractal curve.
McWorter's Pentigree
Generate a Pentigree fractal curve.
McWorter's Lucky Seven
Generate a lucky seven fractal curve.
Eisenstein Fractions
Generate an Eisenstein fractions fractal curve.
Bagula Double V
Generate a Bagula double five fractal curve.
Julia Set
Generate a Julia fractal set.
Mandelbrot Set
Generate a Mandelbrot fractal set.
Mandelbulb Fractal
Generate a Mandelbulb fractal.
Mandelbox Fractal
Generate a Mandelbox fractal.
Buddhabrot Fractal
Generate a Buddhabrot fractal.
Burning Ship Fractal
Generate a Burning Ship fractal.
Toothpick Fractal
Generate a toothpick sequence fractal.
Ulam-Warburton Fractal
Generate an Ulam-Warburton fractal curve.
ASCII Fractal
Generate an ASCII fractal.
ANSI Fractal
Generate an ANSI fractal.
Unicode Fractal
Generate a Unicode fractal.
Emoji Fractal
Generate an emoji fractal.
Braille Fractal
Generate a braille code fractal.
Audio Fractal
Generate a fractal in audio form.
Draw a Pseudofractal
Create a fractal that looks like one but isn't a fractal.
Convert Text to a Fractal
Generate a fractal from any text.
Convert a String to a Fractal
Generate a fractal from a string.
Convert a Number to a Fractal
Generate a fractal from a number.
Merge Two Fractals
Join any two fractals together.
Draw a Random Fractal
Create a completely random fractal.
Iterate an IFS
Set up an arbitrary IFS system and iterate it.
Run IFS on an Image
Recursively transform an image using IFS rules.
Iterate an ICAF
Run infinite compositions of analytic functions.
Generate a Fractal Landscape
Create a surface that mimics a natural terrain.
Generate a Brownian Surface
Create a fractal surface via Brownian motion.
Generate a Self-similar Image
Apply fractal algorithms on your image and make it self-similar.
Find Fractal Patterns in Images
Find fractal patterns in any given image.
Find Fractal Patterns in Text
Find fractal patterns in any given text.
Find Fractal Patterns in Numbers
Find fractal patterns in any given number.
Fill a Plane with Fractals
Tessellate a plane with fractals.
Run a Cellular Automaton
Run a cellular automaton with custom rules.
Play Game of Life
Play Conway's Game of Life on an infinite grid.