📅  最后修改于: 2022-03-11 14:56:28.936000             🧑  作者: Mango
PImage img;
void setup() {
// Images must be in the "data" directory to load correctly
img = loadImage("laDefense.jpg");
}
void draw() {
image(img, 0, 0);
image(img, 0, 0, width/2, height/2);
}