Sierpinksi Triangle

reset || view image to save || change colour
iterate || iterate x100 || iterate x10,000



Instructions

Click 3 times to place a triangle (red dots). Clicking 1 more time will place the start point (a green dot). Then by choosing from the "iterate..." links, you can perform iterations, see the algorithm below.



Algorithm



This is an experiment using JavaScript and the HTML5 canvas element.