// How to load and display images PImage player, ball; void setup() { size(600,400); // It's a good idea to load images in setup, so that we do it only once player=loadImage("http://www.kameli.net/~marq/player.jpg"); ball=loadImage("http://www.kameli.net/~marq/football.png"); // Note that loading from a URL doesn't work if you're offline // In that case make the images part of the sketch (Sketch - Add File) } void draw() { int n; image(player,0,0); // Background for(n=0;n<5;n++) // Draw the ball five times. It's a PNG with alpha channel. { image(ball,n*100,280); } }