• fullscreen
  • sketch_jun22a_probe_Shapomon.pde
  • PShape anfang;
    PShape huelle;
    PShape gefuellt;
    PShape ende;
    PShape mehr;
    
    void setup ()
    {
      background (255);
      size (800, 600);
      smooth();
      frameRate(10);
      anfang = loadShape( "anfang.svg" ); //punkte
      huelle = loadShape( "hülle.svg" ); //Hülle
      gefuellt = loadShape ("Körper_gefüllt.svg" ); //
      ende = loadShape ("MONSTER_ENDE.svg");
      mehr = loadShape ("anfang_mehr.svg");
      
      shape(huelle, -20, 25);
    
    }
    
    
    void draw()
    {
    
      if ( clickCount == 0 )
      {
        
        background(255); // dass die arme immer nur ein mal zu sehen sind
        shape(huelle, -20, 25);
    
      }
      else if ( clickCount == 1 )
        {
          shape(gefuellt, -27, 40);
        }
    
      else if (clickCount == 2)
      {
      shape(anfang, 100, 25); // ab else immer um eins erhöhen
      }
      
    /*    else if (clickCount == 3)
      {
      shape(mehr, 100, 25);
      }
     */ 
      
      else if (clickCount == 4)
      {
      shape(ende, -20, 25);
      }
     
    }
    
    int clickCount = 0;
    
    void mousePressed ()
    {
      clickCount++;
      if ( clickCount > 4 ) clickCount = 0;
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Jenny

    Shapomon

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

    Florian Jenett
    27 Jun 2010
    hehe .. nice!
    You need to login/register to comment.