• fullscreen
  • pointrotate.pde
  • float angle;
    
    void setup() {
    
      size(500, 500, P3D);
      background(255);
      strokeWeight(2);
      stroke(0);
      smooth();
      frameRate(30);
    }
    
    void draw() {
    
      background(255);
    
      angle = angle + 0.00001;
    
      translate(100, height/2);
    
      for (int x = 0; x < 300; x  = x + 2) {
        for (int y = 0; y < 150; y = y + 3) {
    
          rotateX(angle);
    
          point(x, y);
        }
      }
    }
    
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    takumi abe

    pointrotate

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

    2011.10.16up

    You need to login/register to comment.