• fullscreen
  • kh_muster_16b.pde
  • void setup() {
    size( 200,200 );
    background( 255 );
    smooth();
    }
    
    void draw(){
      noFill();
      rectMode(CENTER);
      rect(width/2, height/2, 160, 160);
      line(width/2, 20, width/2, 180);
      line(width/2 - 40, 20, width/2 - 40, 180);
      line(width/2 + 40, 20, width/2 + 40, 180);
      
      for ( int c1 = 20; c1 < 180; c1 = c1 + 5) {
        line (180, c1, 140, c1);
      }
      for ( int c1 = 20; c1 < 180; c1 = c1 + 10) {
        line(140, c1, 100, c1);
      }
       for ( int c1 = 20; c1 < 180; c1 = c1 + 20) {
        line(100, c1, 60, c1);
      }
       for ( int c1 = 20; c1 < 180; c1 = c1 + 40) {
        line(60, c1, 20, c1);
      }
    }
    
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    khoevermann

    muster_16

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

    You need to login/register to comment.