Name

set()

Examples
black = color(0)
set(30, 20, black)
set(85, 20, black)
set(85, 75, black)
set(30, 75, black)
for i in range(30, width-15): 
    for j in range(20, height-25): 
        c = color(204-j, 153-i, 0)
        set(i, j, c)
size(100, 100)
myImage = loadImage("apples.jpg")
set(0, 0, myImage)
line(0, 0, width, height)
line(0, height, width, 0)
Description
Syntax
set(x, y, c)
set(x, y, img)
Parameters
x
y
c
img
Related pixels
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License