Generate a Sierpinski Triangle

👁 59 views 📁 Fractal

Generate a Sierpinski Triangle

Create the famous fractal triangle with adjustable iterations

The Sierpinski triangle has fractal dimension log(3)/log(2) ≈ 1.585. Each iteration triples the number of triangles. Named after Polish mathematician Wacław Sierpiński (1915). All rendering is done via Canvas API in your browser.