11_TrueFalse

Feb 02, 2010 22:48






size(200, 200)
background(0.2)

x = False

for i in range(1, WIDTH, 6):

if i < WIDTH/2:
x = True
else:
x = False

if x:
stroke(1, 0, 0)
line(i, 0, i, HEIGHT)

if x:
stroke(0, 1, 0)
line(WIDTH/2 , i, WIDTH, i)

nodebox

Previous post Next post
Up