• fullscreen
  • antonia_biotti.pde
  • float margen, sp;
    void setup(){
      margen=20;
      sp=40;
      size(500, 500);
      smooth();
    background(255);
    }
    void draw(){
      background(255);
     for(float y= margen; y <= height-margen; y += sp){
     for(float x= margen; x <= width-margen; x += sp){
     float d;
       d= sqrt((mouseX-x)*(mouseX-x)+(mouseY-y)*(mouseY-y));
     stroke(42, 143, 188, 100);
     fill(0);
       triangle(x, y , d, d, d, d);
       stroke(193, 237, 19);
       ellipse(x, y, 400/d, 400/d);   
       rect(x, y , d, d);
    }
     }}
    void mousePressed(){
      println("vertex("+mouseX+", "+mouseY+");");
    }
    void keyPressed(){
      saveFrame("AntoniaBiotti.jpg");
      println("fotograma grabado");
    }
    

    code

    tweaks (0)

    about this sketch

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

    license

    advertisement

    Antonia Biotti Varela

    telaraña cuadriculada

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

    You need to login/register to comment.