Watch IN TURBO MODE. (Shift + Click Green Flag) You can drag the points around and then hit reset to see any shape.
This can be demonstrated with any number of points (4 points will make a sponge, etc.), but It becomes less recognizable - This is the most well-known shape that this can produce. :) Inspired by this video (explained in-depth): https://www.youtube.com/watch?v=kbKtFN71Lfs HOW IT WORKS SETUP: 3 points are placed on the screen at random points. Then a red dot is placed at a random spot (not necessarily in the triangle we have just created). ALGORITHM: Pick a random number 1-3, each correlated to one of the 3 points. Then move HALFWAY to the corresponding dot (Number is 1, move halfway to dot one, etc.). Repeat. This simple algorithm of moving halfway to one of the three dots gives us this Sierpinski triangle - something that is seeming unrelated. Amazing!