ASCII Fractal Generator
Draw a Sierpinski triangle or carpet as ASCII art in your browser. Depth caps keep the output printable; deeper is refused.
What this ascii fractal generator does
The page grows the chosen fractal row by row: the triangle to depth six, the carpet to depth four, each row a line of stars and spaces. Depth two of the triangle is three rows ending in star space star. A depth past the ceiling for the chosen shape is refused naming the ceiling, because the output would outgrow the page; a depth below one and a shape outside the two names are refused the same way.
How to use it
ASCII Fractal Generator: paste the note into the box above, set Fractal (default "sierpinski-triangle") and Depth (default "2"), and press Run to get the fractal art below.
Worked example
Input:
Output:
*
* *
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads note and returns fractal art; reloading the page discards both.
The page grows the chosen fractal row by row: the triangle to depth six, the carpet to depth four, each row a line of stars and spaces. Depth two of the triangle is three rows ending in star space star. A depth past the ceiling for the chosen shape is refused naming the ceiling, because the output would outgrow the page; a depth below one and a shape outside the two names are refused the same way.
Draw a Sierpinski triangle or carpet as ASCII art in your browser. Depth caps keep the output printable; deeper is refused.
How to use it
ASCII Fractal Generator: paste the note into the box above, set Fractal (default "sierpinski-triangle") and Depth (default "2"), and press Run to get the fractal art below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads note and returns fractal art; reloading the page discards both.
What to Expect
Best for
- Converting note to fractal art when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample output
* * *
Frequently asked questions
How do I use the ascii fractal generator?
ASCII Fractal Generator: paste the note into the box above, set Fractal (default "sierpinski-triangle") and Depth (default "2"), and press Run to get the fractal art below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.