Create code which involves the setup, draw, mousePressed, keyPressed functions, which has some sort of interactivity with it.
Also if you want to try other functions there are
void mouseDragged()
void mouseReleased()
void mouseMoved()
Here is how to place an image.....REMEMBER YOU MUST USE SKETCH and ADD FILE
Before setup you must use
PImage X; //Where X is the name you want to declare an image
IN SETUP
X=loadImage("XXX.jpg");//where XXX is the ACTUAL name of the image
In code
image(X,0,0); //This will place the image you called X at 0,0
an example is below
Also if you want to try other functions there are
void mouseDragged()
void mouseReleased()
void mouseMoved()
Here is how to place an image.....REMEMBER YOU MUST USE SKETCH and ADD FILE
Before setup you must use
PImage X; //Where X is the name you want to declare an image
IN SETUP
X=loadImage("XXX.jpg");//where XXX is the ACTUAL name of the image
In code
image(X,0,0); //This will place the image you called X at 0,0
an example is below