|
Author |
Topic: medialab / stop thinking so flat (Read 804 times) |
|
Martin
|
medialab / stop thinking so flat
« on: Nov 23rd, 2002, 1:00pm » |
|
// Stop Thinking So Flat // by Martin // // Based on the MIT Media Lab site design by Peter Cho // // Lame attempt in reproducing the MIT Media Lab site // design using Proce55ing ... or maybe not. size(700,300); background(255); rectMode(CORNER); noStroke(); int red; int green; int blue; int x; int y; int laki; int i = 0; for( i = 0; i <= 400; i++ ) { red = (int) random(100,255); green = (int) random(0,255); blue = (int) random(0,255); x = (int) random(0,690); y = (int) random(0,190); laki = (int) random(5,20); rotateY(20); fill(red,green,blue); rect(x, y, laki, laki); } noFill(); for( i = 0; i <= 100; i++ ) { red = (int) random(100,255); green = (int) random(0,255); blue = (int) random(0,255); x = (int) random(0,690); y = (int) random(0,190); laki = (int) random(5,20); rotateY(50); stroke(red,green,blue); rect(x, y, laki, laki); }
|
« Last Edit: Nov 24th, 2002, 11:23am by Martin » |
|
|
|
|
|