Sierpinski Triangle

We will create a Sierpinski Triangle using an image. You may upload your own image.

Otherwise, the following image will be used when you press the generate button.

Davidson College logo

Please input the number of levels of a Sierpinski Triangle you'd like to make with this image.

Want to learn more about the math behind making candy mosaics? Read Math Bytes: Google Bombs, Chocolate-Covered Pi, and Other Cool Bits in Computing by Tim Chartier or click the image below for more information.

cover of Math Bytes book