13_EmbeddingIteration

Feb 04, 2010 00:03






size(200, 200)
background(0)

box_size = 11
box_space = 12
margin = 7

# Draw gray boxes

for i in range(margin, HEIGHT-margin, box_space):

i += box_space/4
#print i

if box_size > 0:
for j in range(margin, WIDTH-margin, box_space):
j += box_space/4
fill(1)
oval(j-box_size/2, i-box_size/2, box_size, box_size)

box_size = box_size - 0.6

nodebox

Previous post Next post
Up