The Sierpinsky triangle should appear below in a Java enabled browser.
The algorithm to generate this triangle is a piece of cake. Take a random starting point, randomly choose one of the vertices of the triangle, move half way towards it and repeat.