g = new graphics for x=1 to 10 for y = 1 to 10 { g.color[randomFloat[0,1],randomFloat[0,1],randomFloat[0,1]] g.fillRectSize[x*10, y*10, 10, 10] } g.show[]