test sur processing

processing test iterative art
Voici un petit test sur processing (vite fait), pour shématiser graphiquement la création de réseaux, cliquez sur l’image pour y acceder

int w = 800;
int h = w;
float x2=0;
float y2=0;
//
void setup() {
size(w,h);
background(255);
smooth();
}

void draw() {
stroke(0, 0, 0);
fill(0, 0, 0);
float test1=random(0,30);
float test=random(0,test1);
float largeur=random(1,test);
float x1=random(0,w);
float y1=random(0,w);
ellipse(x1,y1 , largeur, largeur);
strokeWeight(random(0,largeur/5));

line (x1,y1,x2,y2);
x2=x1;
y2=y1;
}

  • Gmail
  • Digg
  • Delicious
  • LinkedIn
  • Twitter
  • Facebook
  • MySpace
  • Technorati Favorites
  • Slashdot
  • Netvibes Share
  • Furl
  • Share/Save/Bookmark

Leave a Reply

Bookmark on del.icio.us