Josh Nimoy

January 23rd, 2006

If you like vectors for graphics then you better check this out.

4.gif

Wow, that looks complex. That took probably a lot of time to make.
Euh … not!

import random

def rnd():
return random.random()*100

for i in range(0,100):
ai.strokeWidth(random.random()*2.0)
ai.curve(rnd(),rnd(),rnd(),rnd(),\rnd(),rnd(),rnd(),rnd())

That’s all it took, some lines of code.

Josh Nimoy explains it here.

Leave a Reply


blogoscoop