Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

How do you load a gif in a sketch?

$
0
0

What I have is

  PImage dogMoving;
  float dogMovingx, dogMovingy

setup(){

 dogMoving = loadImage("dogWalking.gif");
   dogMovingx=600;
    dogMovingy=300;

}

draw(){

image(dogMoving, dogMovingx, dogMovingy);

}

Viewing all articles
Browse latest Browse all 2896

Trending Articles