calaway / sierpinski Goto Github PK
View Code? Open in Web Editor NEWA simple, just-for-fun HTML canvas project. Algorithm: 1) draw a triangle, 2) plot any single point at random, 3) plot the midpoint between the previous point and a randomly chosen vertex of the triangle, 4) repeat step 3 indefinitely and see what emerges.