# Triflake fractal

## World's simplest fractal tool

This utility lets you draw custom and colorful triflake fractals. We have added multiple customization options that allow you to control the size of the fractal, iterations count, and colors. The size can be controlled by setting the height and width of the image, the padding around the triflake, and the drawing line width. The color palette consists of colors for the image background, center of the fractal, side islands, and the drawing line color. At the moment, you can generate the first ten iterations of this fractal. Fun fact – a triflake is made out of three touching Koch anti-snowflakes. Fractabulous!

a new math project!
announcement

Love math as much as we do? Then you'll also love our new project – MATHURLS – a super neat math news aggregator. Check it out!

*fullscreen*

*fullscreen_exit*

A link to this tool, including input, options and all chained tools.

Can't convert.

Triflake fractal tool
What is a triflake fractal?

This online browser-based tool allows you to visualize triflake fractals. The triflake fractal contains all variations of the Koch fractal at once! It consists of one Koch snowflake, three Koch antisnowflakes, and nine Koch lines. It's built from three connected equilateral triangles that touch at vertices that together form a bigger equilateral triangle. To create a triflake, all three triangles are morphed into Koch anti-snowflakes at the same time. After a couple of iterations a regular Koch snowflake forms in the center of triangles. If you look closely, you can also notice that the outer side of the fractal consists of six Koch lines and the inner one of the three. Mind blowing and ingenious at the same time, or as we love to say – fractabulous!

Triflake fractal examples
Click to use

Multicolored Triflake Fractal

In this example, we generate a multi-colored fourth-order Koch triflake. We use all colors in the palette for it – a blue-ribbon color for the background, a heliotrope color for the Koch star that's formed inside, yellow for the triflake islands, and an arapawa color for the line. We draw this fractal on a 700 by 700 pixels canvas with an 8-pixel padding and 6-pixel line width.

**Required options**

Number of recursive steps.

Drawing space width.

Drawing space height.

Width of the triflake's line.

Padding around the fractal.

Space fill color.

Center fill color.

Triflake island fill color.

Drawing line color.

Triflake Stain

In this example, we accidentally spilled some triflake. It formed a nasty triflake stain that is almost impossible to clean up because of its irrational fractal dimension. We'll be asking Koch for help as only he knows to clean up these fractal spills.

**Required options**

Number of recursive steps.

Drawing space width.

Drawing space height.

Width of the triflake's line.

Padding around the fractal.

Space fill color.

Center fill color.

Triflake island fill color.

Drawing line color.

Triflake Upside-down

In this example, we direct the vertex of the triflake fractal downward and generate six iterations for it. We use an interesting mix of colors to draw it. We paint the background and triflake islands in the siren color, and the center and contour line in the green-yellow color. We also set the image width and height to 600 pixels, and padding to 20 pixels.

**Required options**

Number of recursive steps.

Drawing space width.

Drawing space height.

Width of the triflake's line.

Padding around the fractal.

Space fill color.

Center fill color.

Triflake island fill color.

Drawing line color.

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!

https://onlinefractaltools.com/draw-triflake-fractal?&width=700&height=700&iterations=4&background-color=%23293afc&snowflake-fill-color=%23a04cff&antisnowflake-fill-color=%23ffff00&line-segment-color=%230e1e66&line-width=8&padding=6&direction=up

All fractal tools

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 Cantor String

Encode the Cantor set as a string.

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 Dragon String

Encode the Heighway Dragon as a string.

Generate a Sierpinski String

Encode the Sierpinski fractal as a string.

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.

Toothpick Fractal

Generate a toothpick sequence fractal.

Ulam-Warburton Fractal

Generate an Ulam-Warburton fractal curve.

Subscribe!
Never miss an update

Cool!

Notifications
We'll let you know when we add this tool

Cool!