You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 24, 2023. It is now read-only.
Syntax
img.set(x, y, c)
img.set(x, y, img)
Parameters
img PImage: any variable of type PImage
x int: x-coordinate of the pixel
y int: y-coordinate of the pixel
c int: any value of the color datatype
img PImage: image to draw on screen
you're using the same variable name "img" for two variables
"img: image to draw ON SCREEN"?!?!?!?!? doesn't make any sense. Looks like something that got copy-paste from some other function's doc.
http://processing.org/reference/PImage_set_.html
Syntax
img.set(x, y, c)
img.set(x, y, img)
Parameters
img PImage: any variable of type PImage
x int: x-coordinate of the pixel
y int: y-coordinate of the pixel
c int: any value of the color datatype
img PImage: image to draw on screen