Code

BImage face;

BImage hand1;
BImage hand2;
BImage hand3;
//float t;
//float u;
void setup ( )
{
  face = loadImage("face.jpg");
 
  hand1 = loadImage("hand1.jpg");
   hand2 = loadImage("hand2.jpg");
    hand3 = loadImage("hand3.jpg");

  //float t = millis()/100;
  //float u = t % 400; 
  size(400,212);


}

void loop ( )
{

  background (255);
  image (face, 0, 0);
 smooth(); 
  push ( );//first hand
  //translate (62, u);
  rotateY(mouseX/100.0);
  noStroke( );
  
  beginShape (QUADS);
  texture(hand1);
  vertex(25,62,0,0,0);
  vertex(125,62,0,100,0);
  vertex(125,162,0,100,100);
  vertex(25,162,0,0,1000);
  endShape ( );
  pop( );
  
 
   push ();//second hand
  //translate ( ________ );
  rotateY(mouseX/100.0);
  noStroke();
    beginShape (QUADS);
  texture(hand2);
  vertex(150,62,0,0,0);
  vertex(250,62,0,100,0);
  vertex(250,162,0,100,100);
  vertex(150,162,0,0,100);
  endShape ( );
  pop( );
  
  push ( );  //third hand
//translate (______);
  rotateY(mouseX/100.0);
  noStroke( );
  
  beginShape (QUADS);
  texture(hand3);
   vertex(275,62,0,0,0);
  vertex(375,62,0,100,0);
  vertex(375,162,0,100,100);
  vertex(275,162,0,0,100);
  endShape ( );
  pop( );
}  

051 -- Image-Textured Quads: Texturemapping onto a 3D quad

Statement:Load an image and fetch a sub-section of it. Render (i.e. texturemap) this image onto a 3D quad hovering in space. Demonstrate your success by allowing the user to rotate the quad with their cursor.

Examples of this, with source code, abound on the Processing site. Mikkel Kroner's Superhero example contains code, while Vas Animatum's diet coke example contains no source but shows an interesting application.
yeah . . . nick doesn't know what the hell he's doing.

hide statement