Browse to select the image file, click OK.
Example code:
PImage myImage;
void setup() {
myImage = loadImage("Arduino-er2.png");
size(myImage.width, myImage.height);
smooth();
}
void draw() {
image(myImage, 0, 0);
}
processing exercise: display image |
No comments:
Post a Comment