Here's an interesting discussion of Sierpenski Triangles:

http://social.msdn.microsoft.com/Forums/en-US/smallbasic/thread/15a4a5bf-98d8-42f9-93ce-7246ef584a2c

Here are two examples that were created in Small Basic:

Random Sierpinski Triangle - by RubikWizard

Sierpinski Triangle - by Stendec

NaochanON created this program that generates these triangles:

http://smallbasic.com/smallbasic.com/program/?RBB339

And this diagram for an explanation:

Enjoy!

   - Ninja Ed