Home Tools Blog About

Generate Sierpinski Carpet

In short

Draw the Sierpinski carpet, a square fractal of repeatedly removed central squares.

  • Runs in your browser
  • Nothing uploaded
  • Free, no sign-up

The Sierpinski carpet is a square fractal made by repeatedly removing the center cell of every three-by-three grid and recursing on the eight that remain. Choose the depth, colors, and size, then download a PNG. Runs entirely in your browser.

🛡
100% PrivateNo server uploads, ever
InstantRuns in your browser
💧
No WatermarksClean output, always
🆓
Free ForeverNo accounts, no limits

How to Use Generate Sierpinski Carpet

Generate Sierpinski Carpet · free online tool · All Tools Verse
Generate Sierpinski Carpet. Free online tool that runs in your browser.
  1. Set the iterations. A higher depth gives more detail.
  2. Adjust the look. Choose the size, line width, and colors.
  3. Draw the fractal. It is rendered on the canvas.
  4. Save it. Copy or download the image as a PNG.

Frequently Asked Questions

What is the Sierpinski carpet?

A square fractal made by dividing a square into nine parts, removing the middle one, and repeating on the rest.

What do more iterations do?

They remove ever smaller central squares, leaving a finer lacework of holes.

Can I save the image?

Yes. Copy it to the clipboard or download it as a PNG.

Is anything uploaded?

No. The drawing happens in your browser, so nothing leaves the tab.

Is it free?

Yes. Every tool here is free to use with no sign up.

Keep going

Related Tools

All Fractals tools →

Draw Sierpinski Fractal

Draw the Sierpinski triangle (Sierpiński 1915) via recursive subdivision or chaos game. Dim log(3)/log(2)…

Draw Canopy Fractal

Draw a canopy-tree L-system fractal in your browser. 7 iterations, custom colors, gradient depth,…

Draw Cantor Dust Fractal

Draw true Cantor Dust (4-corner) or Sierpiński carpet (8-square) in your browser. Color modes,…

Draw Cantor Fractal

Draw the Cantor set with middle-third deletion. 0-10 iterations, custom colors, dimension and measure…

Draw Flowsnake Fractal

Draw the Gosper curve hexagonal space-filling fractal in your browser. Iterations 1-6, custom colors,…

Draw Frosty Fractal

Draw Frosty Fractal online, free and private. Runs in your browser, no upload, instant…

Draw Hausdorff Fractal

Draw the Hilbert curve or Moore curve (closed-loop variant) - true space-filling fractals (dim…

Draw Heighway Fractal

Draw the Heighway dragon (paper-folding fractal) with fire gradient and symmetry modes. L-system based.…

Draw Hexaflake Fractal

Draw the hexaflake (hexagon snowflake) - 7-hexagon recursive fractal with 6-fold symmetry. Custom colors,…

Draw Hilbert Fractal

Draw the Hilbert space-filling curve in your browser. 9 iterations, rotation, gradient, endpoints. Free,…

Draw Koch Fractal

Draw Koch curve, snowflake, or anti-snowflake at any angle. Iterations 0-7. Free, offline, client-side,…

Draw Levy Fractal

Draw the Lévy C-curve (Paul Lévy 1938) - space-filling fractal at 45°. Gradient and…

Share

Embed this tool

Add this free tool to your website. Copy and paste the code: