• fullscreen
  • tillproject.pde
  • PImage bg;
    PImage PYT,JIY,OJH,SDW,LJY,KTH,LBG,LLBG,KTG;
    boolean showIt = false;
    int A=mouseX;
    int B=mouseY;
    
    void setup() {
      
      size(795,793);
      bg = loadImage("LGlineup.png");
      
      PYT = loadImage("parkyoongtaek.png");
      JIY = loadImage("JIY.png");
      OJH = loadImage("OJH.png");
      SDW = loadImage("SDW.png");
      LJY = loadImage("LJY.png");
      KTH = loadImage("KTH.png");
      LBG = loadImage("LBG.png");
      LLBG = loadImage("LLBG.png");
      KTG = loadImage("KTG.png");
      
      noStroke();
      smooth();
    }
     
     
     //312 322
    void draw() {
      background(bg);
      //text( "x: " + mouseX + " y: " + mouseY, mouseX, mouseY );
      
      
      if(mouseX >374 && mouseX < 422 && mouseY > 188 && mouseY <255){
       image(PYT, 418,230); 
      }
      if(mouseX >185 && mouseX < 237 && mouseY > 330 && mouseY <402){
       image(JIY, 233,380); 
      }
       if(mouseX >310 && mouseX < 360 && mouseY > 318 && mouseY <391){
       image(OJH, 356,369); 
      }
       if(mouseX >434 && mouseX < 484 && mouseY > 320 && mouseY <391){
       image(SDW, 480,369); 
      }
      if(mouseX >558 && mouseX < 609 && mouseY > 320 && mouseY <391){
       image(LJY, 605,380); 
      }
      if(mouseX >270 && mouseX < 322 && mouseY > 440 && mouseY <511){
       image(KTH, 319,489); 
      }
      if(mouseX >470 && mouseX < 522 && mouseY > 440 && mouseY <511){
       image(LBG, 519,489); 
      }
      if(mouseX >175 && mouseX < 232 && mouseY > 550 && mouseY <624){
       image(LLBG, 227,600); 
      }
      if(mouseX >370 && mouseX < 425 && mouseY > 555 && mouseY <626){
       image(KTG, 420,604); 
      }
      
      
      
      
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    sah youngin

    tillproject_LGlineup

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

    interactive data visualization for TiLLdesign.
    Score pops up when mouse hovers players picture.

    You need to login/register to comment.