def setup
background(220)
black = color(0)
set(30, 20, black)
set(85, 20, black)
set(85, 75, black)
set(30, 75, black)
updatePixels
end
def setup
background(220)
(30...width - 15).each do |i|
(20...height - 25).each do |j|
c = color(204 - j, 153 - i, 0)
set(i, j, c)
end
end
updatePixels
end
def setup
img = loadImage("fruit.png")
set(0, 0, img)
updatePixels
line(0, 0, width, height)
line(0, height, width, 0)
end