onlinefractaltools logo

Flowsnake fractal

World's simplest fractal tool

This utility lets you draw the amazingly beautiful flowsnake fractals via a very simple and convenient interface. You can manage the fractal's generation process by changing a variety of settings, such as the number of iterations, color palette, drawing brush's thickness, fractal's direction, image size and its padding. Fun fact – asymptotically, the flowsnake curve fills the entire hexagon-like shape and forms a Gosper island. 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 Size
The number of recursive repetitions (iterations.)
Fractal width.
Fractal height.
Pen Thickness and Colors
Pen's thickness for drawing the fractal.
Pen's color for drawing the fractal.
Fractal's background color.
Padding and Orientation
Add padding around flowsnake.
Flowsnake fractal's orientation.
Flowsnake fractal tool What is a flowsnake fractal?
This online browser-based tool allows you to interactively illustrate flowsnake fractals. The flowsnake fractal creates a snake-like path that never crosses. The path of a flowsnake is constructed from a continuous line that at every couple of steps is always bent by 60 degrees. This fractal is also known as the Gosper curve. It's is named after American mathematician and programmer Ralph William Gosper Jr. The famous mathematicians Mandelbrot and Gardner have also called it the Peano-Gosper curve as it has some similarity to the Peano fractal curve. It's also very similar to the Hilbert and Moore fractals as it's space-filling. However, unlike Peano, Hilbert and Moore fractals that fill a rectangle (or square) shaped space, the Peano-Gosper curve fills a space in the shape of a distorted hexagon. This distorted hexagon is called the Gosper island and seven of its copies can be joined together to form another larger copy of the island. Mind blowing and ingenious at the same time, or as we love to say – fractabulous!
Flowsnake fractal examples Click to use
Stage-three Flowsnake Fractal
This example displays the third stage of Peano-Gosper fractal. Stage three means that it has been iterated three times. This example uses a square canvas with a size of 900 by 900 pixels and padding of 20 pixels. It draws a white snake line with a thickness of 7 pixels on a pink background.
This example displays the third stage of Peano-Gosper fractal. Stage three means that it has been iterated three times. This example uses a square canvas with a size of 900 by 900 pixels and padding of 20 pixels. It draws a white snake line with a thickness of 7 pixels on a pink background.
Required options
These options will be used automatically if you select this example.
The number of recursive repetitions (iterations.)
Fractal width.
Fractal height.
Pen's thickness for drawing the fractal.
Pen's color for drawing the fractal.
Fractal's background color.
Add padding around flowsnake.
Flowsnake fractal's orientation.
Gosper Island
In this example, we create a Gosper island. The Gosper island is the final shape of the flowsnake fractal when the iterations count is large. In this case, it took 6 iterations to fully fill the hex-shape space that the flowsnake inherently occupies. Fun fact – Gosper island is a space-filling tile that can cover the entire plane. The colors used for drawing this fractal island are maroon-oak and lemon-chiffon.
In this example, we create a Gosper island. The Gosper island is the final shape of the flowsnake fractal when the iterations count is large. In this case, it took 6 iterations to fully fill the hex-shape space that the flowsnake inherently occupies. Fun fact – Gosper island is a space-filling tile that can cover the entire plane. The colors used for drawing this fractal island are maroon-oak and lemon-chiffon.
Required options
These options will be used automatically if you select this example.
The number of recursive repetitions (iterations.)
Fractal width.
Fractal height.
Pen's thickness for drawing the fractal.
Pen's color for drawing the fractal.
Fractal's background color.
Add padding around flowsnake.
Flowsnake fractal's orientation.
Stretched Flowsnake Curve
In this example, we've stretched the flowsnake fractal vertically with a ratio of 1.2. We're using a rectangular canvas with the width equal to 1000 pixels and the height equal to 1200 pixels.
In this example, we've stretched the flowsnake fractal vertically with a ratio of 1.2. We're using a rectangular canvas with the width equal to 1000 pixels and the height equal to 1200 pixels.
Required options
These options will be used automatically if you select this example.
The number of recursive repetitions (iterations.)
Fractal width.
Fractal height.
Pen's thickness for drawing the fractal.
Pen's color for drawing the fractal.
Fractal's background color.
Add padding around flowsnake.
Flowsnake fractal's orientation.
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-flowsnake-fractal?&width=900&height=900&iterations=3&background-color=%23a6005b&line-segment-color=white&line-width=7&padding=20&direction=up
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 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 Hausdorff tree fractal.
Quickly draw a custom Moore fractal.
Coming soon These fractal tools are on the way
Fractal Canopy
Generate a fractal tree canopy.
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.