This utility lets you draw custom and colorful Morton z-fractals. You can explore the fractal's behavior by recursively iterating it as many times as you want and changing its size in the options. You can also customize the thickness and color of the drawing pen, as well as adjust the color of the background. Fun fact – with each iteration, the number of z letters in the fractal quadruples. Created by fractal fans from team Browserling. Fractabulous!

This utility lets you draw custom and colorful Morton z-fractals. You can explore the fractal's behavior by recursively iterating it as many times as you want and changing its size in the options. You can also customize the thickness and color of the drawing pen, as well as adjust the color of the background. Fun fact – with each iteration, the number of z letters in the fractal quadruples. Created by fractal fans from team Browserling. Fractabulous!

This online browser-based tool allows you to create a custom Morton fractal. The Morton fractal, named after Guy Macdonald Morton (G.M.Morton), was first investigated in 1966. The Morton fractal is also called the z-fractal because it consists of a sequence of connected letters z, which fills the entire space. It's often used in data algorithms as it maps multidimensional data to one dimension while preserving locality of the data points. Ingenious and mind blowing at the same time, or as we love to say – fractabulous!

This online browser-based tool allows you to create a custom Morton fractal. The Morton fractal, named after Guy Macdonald Morton (G.M.Morton), was first investigated in 1966. The Morton fractal is also called the z-fractal because it consists of a sequence of connected letters z, which fills the entire space. It's often used in data algorithms as it maps multidimensional data to one dimension while preserving locality of the data points. Ingenious and mind blowing at the same time, or as we love to say – fractabulous!

Click to try!

click me
### Four Iterations of Morton Fractal

**Required options**

In this example, we create a 4th-order z-order curve on a square canvas of 800x800 pixels. To do this, we use a 4-pixel pen and draw a white line on a catalino-blue background.

Iterate fractal this many times.

Fractal space width.

Fractal space height.

Pen width for drawing the
fractal's curve.

Pen color.

Fill fractal's background
with this color.

Indent around Morton's fractal.
(Adds this many empty pixels
to left, right, top, bottom sides.)

Morton fractal's orientation.

click me
### Norton's Fractal

**Required options**

In this example, we set the orientation for Morton fractal to vertical. As a result, all letters z are flipped on the side. This fractal is also called Norton fractal curve (a pun on Morton's name) because all z's are now n's.

Iterate fractal this many times.

Fractal space width.

Fractal space height.

Pen width for drawing the
fractal's curve.

Pen color.

Fill fractal's background
with this color.

Indent around Morton's fractal.
(Adds this many empty pixels
to left, right, top, bottom sides.)

Morton fractal's orientation.

click me
### Rectangular Morton Fractal

**Required options**

This example uses a rectangular space with a size of 800 by 1200 pixels to draw a z-order fractal. It calls the drawing algorithm recursively five times, which means there are 256 letters "z". (In general there are 4^(n-1) "z" letters for recursive depth "n".)

Iterate fractal this many times.

Fractal space width.

Fractal space height.

Pen width for drawing the
fractal's curve.

Pen color.

Fill fractal's background
with this color.

Indent around Morton's fractal.
(Adds this many empty pixels
to left, right, top, bottom sides.)

Morton fractal's orientation.

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!

https://onlinetools.com/fractal/draw-morton-fractal?iterations=4&width=800&height=800&line-width=4&line-segment-color=white&background-color=%2523082585&padding=15&direction=horizontal

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.

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.

Subscribe to our updates. We'll let you know when we release new tools, features, and organize online workshops.

Enter your email here

We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling our mission is to make people's lives easier, so we created this collection of fractal tools. Our tools have the simplest user interface that doesn't require advanced computer skills and they are used by millions of people every month. Our fractal tools are actually powered by our web developer tools that we created over the last couple of years. Check them out!

49K

@browserling