F. Medeiros
2014-07-09 09:49:00 UTC
Hello again,
Sorry to bother, I have been interested in shoebot for quite some time
but now I have finally a project where I can use it. I am still very
noob, please tell me if this is not the place for these questions.
The following code gives me an image that is 125x125 pixels. Shouldn't
it be 100x100?
size(100,100)
colorrange(255)
colormode(HSB)
stp = 10
for y in range(0, HEIGHT/stp, 1):
for x in range(0, WIDTH/stp, 1):
fill(240, random(130, 255), random(0, 162))
rect(x*stp, y*stp, stp, stp)
Thank you.
F. Medeiros.
Sorry to bother, I have been interested in shoebot for quite some time
but now I have finally a project where I can use it. I am still very
noob, please tell me if this is not the place for these questions.
The following code gives me an image that is 125x125 pixels. Shouldn't
it be 100x100?
size(100,100)
colorrange(255)
colormode(HSB)
stp = 10
for y in range(0, HEIGHT/stp, 1):
for x in range(0, WIDTH/stp, 1):
fill(240, random(130, 255), random(0, 162))
rect(x*stp, y*stp, stp, stp)
Thank you.
F. Medeiros.