> show canvas only <


/* built with Studio Sketchpad: 
 *   http://sketchpad.cc
 * 
 * observe the evolution of this sketch: 
 *   http://sketchpad.cc/sp/pad/view/ro.3QJ4qVnw6XG/rev.1138
 * 
 * authors: 
 *   Ari Bader-Natal
 *   
 *   
 *   Dingobloo
 *   
 *   Dingobloo
 *   Dingobloo
 *   Dingobloo
 *   Dingobloo
 *   

 * license (unless otherwise specified): 
 *   creative commons attribution-share alike 3.0 license.
 *   http://creativecommons.org/licenses/by-sa/3.0/ 
 */ 



int startAngle =0;

void setup() { 
    size(550, 550);
    smooth();
    background(255);
    strokeWeight(0.01);
    frameRate(30);
} 
 
void draw() { 
    fill(255,255,255,100);
    rect(0,0,width,height);
    
    
    translate(width/2,height/2);
    int Scale = 20;//(mouseX/width)*25;
    if(Scale<0.1)
        Scale = 0.1;
    scale(Scale);
    
    stroke(0,0,0,0);
    fill(255,255,255,255);
    ellipse(0,0,15*sin(startAngle),15*sin(startAngle));
    
    for(int MeshCount = 0;MeshCount<10;MeshCount++){
        pushMatrix();
            rotate(radians(sin(startAngle)*180)+radians(MeshCount*35));
            for(int i = 0;i<10;i++){
                int blah = 255*(1-(i/10));
                stroke(blah,0,0);
                line(i,0,i,10);
            }
            for(int i = 0;i<10;i++){
                int blah =  255*(1-(i/10));
                stroke(0,0,blah);
                line(0,i,10,i);
            }

            stroke(0,0,0,255);
            line(0,0,10,10);

        popMatrix();
        startAngle = (startAngle+0.005);
    }
    


}