// create an image variable
PImage img;
// load the image (it must be in your sketch's data folder
img = loadImage("someimage.jpg");
// tint (gray, alpha) or tint (val,val,val,alpha) tint(255,0,0,50);
// display the image image(name, x, y, width, height)
image(img,0,0);
- 4.1 load an image
- 4.2 load 3 versions of an image with 3 different tints
- 4.3 using a "for" loop, load lots of images and change their location and tint
- Save your file as yourLastName_Imagine