Python - 127 chars
Creates a Sierpinski triangle.
import Image
f=1e3
a=Image.new('RGB',(f,f))
p=a.load()
r=range(f)
for i in r:
for j in r:p[i,j]=(i*16&j*16,)*3
a.save('s.png')
Creates a Sierpinski triangle.
import Image
f=1e3
a=Image.new('RGB',(f,f))
p=a.load()
r=range(f)
for i in r:
for j in r:p[i,j]=(i*16&j*16,)*3
a.save('s.png')