• fullscreen
  • Martin_Rugby.pde
  • PImage img;
    PImage pel;
    float x,y; // Variables for image location
    float rot; // A variable for image rotation
    void setup(){
      size (825, 140);
      img = loadImage("encabezado_armado.png");
      pel = loadImage ("Martin_Rugby.gif");
    }
    void draw(){
      background(83, 97, 142);
      image(img, 0, 0, 825, 140);
      
     translate(x,y);
    rotate(rot);
    image(pel,0,0,50,50); // Draw image
    x += 3.0;
    rot += 0.01;
    if (x > width) {
    x = 0;
    }
    }
    
    

    code

    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.

    license

    advertisement

    Gabriel Litwin

    First Skecht

    Add to Faves Me Likey@!
    You must login/register to add this sketch to your favorites.

    I made this for my brother, first sketch!

    You need to login/register to comment.