• fullscreen
  • mtb1_2b.pde
  • int i;	
    
    void setup() {
      frameRate(10);
      size(400, 400);
      colorMode(RGB, 255);
    }
    int pos = 0;
    void draw() {
      background(0);
      
      strokeWeight(1);
      pos++;
      for(i=0; i<50; i++){
        stroke(pos*10, pos*5, 200);
      line(pos*i, pos*20, pos*10, i*pos);
      
      if(pos > width/10) {
        pos=-10;
      }
      }
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Rika Hirota

    mtb1_2b

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

    You need to login/register to comment.