Tools

Home
Base64 Encode/DecodeString to HexHash GeneratorUTF-8 Encode/DecodeURL Encode/Decode

Cantor Fractal Generator

The Cantor set fractal, created by repeatedly removing the middle third of line segments. Customize and download as PNG.

Your data never leaves your browser
SETTINGS0 values
PREVIEW0 values
Ready·Ready

Draw a Cantor set fractal by picking iteration depth, bar colors, and canvas size — then hit Convert. The tool splits each line segment into thirds and removes the middle, repeating the process at every level you choose. And everything runs in your browser. Nothing gets uploaded.

How to Use

Set iterations to control fractal detail level.

Choose a color for the fractal lines.

Click Convert to render the fractal.

Download the result as a PNG image.

Frequently Asked Questions

What is the Cantor fractal?

The Cantor set fractal, created by repeatedly removing the middle third of line segments.

What do iterations control?

Higher iterations produce more detail but take longer to render. Start with 4-6 for best results.

Can I download the fractal?

Yes. Click the download button to save as PNG.

What is the maximum size?

You can set canvas size up to 2000x2000 pixels.

Is my data safe?

Yes. All rendering happens in your browser using the Canvas API.

Share: