Building Sierpinski’s triangle with a substitution system.
The Macromedia Flash animation presented here builds Sierpinski’s triangle from a substitution system: it substitutes each triangle by three child triangles.
The program uses the same substitution engine as that used for the Koch Island.
Plaintext source of this program, released under the GPL.