I was watching an MIT lecture where the speaker referred to a simple algorithm for generating a Sierpinski Triangle. The algorithm was so simple that I was surprised that it would really generate this famous fractal. So I wrote this quick-and-dirty Windows Forms application to test out the algorithm.
The algorithm is described in the lecture video and in the Sierpinski Triangle wikipedia article (under the "Chaos Game" construction).