# Python - 198 chars

Creates a Sierpinski triangle.

    import Image as I
    t=1000
    i=I.new('RGB',(t,t),"black")
    p=i.load()
    def r(x,y):return(x*16)&(y*16)
    for i in range(i.size[0]):
     for j in range(i.size[1]):m=r(i,j);p[i,j]=(m,m,m)
    img.save('s.png','PNG')

![](https://i.sstatic.net/OebGl.png)