Welcome to my Sierpinski Gasket (or Sierpinski Square) webpage!

This code ONLY uses HTML Table tags and attributes to generate the picture. No images or pre-compiled squares are used.

Select the number of iterations:
Too large can crash browser.
Select the smallest box size:
Select box color:
Select non-box color:
Vary non-box colors? Yes   No

Sierpinski's Gasket

(Iterations=3, Box Size=3, Colors=#000000 / #FFFFFF, Vary Color=Yes)