Don't wanna be here? Send us removal request.
Video
tumblr
Final Project João Oliveira. MD, Philipp Hartmann. MD, Claudio Borri. MD
float margin = 100; float xnoise, ynoise, znoise; float xstart, ystart, zstart; float seednoise, zoom;
PImage bg;
void setup() {
size(1000, 1000, P3D); frameRate(12); bg = loadImage("logo.png");
xstart = 0; ystart = 0; zstart = 0; seednoise = random(1); zoom = 0;
noStroke(); }
void clearBackground() { background(170);
}
void draw() { image(bg, 250, 250);
seednoise += 0.01; if (zoom > -1500) { zoom -= 30; }
xstart = noise(seednoise)*15; ystart = xstart; zstart = ystart;
xnoise = xstart; float inc = 0.1;
// grid for (float i =- 1000+margin; i <= 900-margin; i += margin){ pushMatrix(); xnoise += inc; ynoise = ystart; for (float j =- 1000+margin; j <= 900-margin; j += margin){ pushMatrix(); ynoise += inc; znoise = zstart; for (float k =- 300+margin; k <= 600-margin; k += margin){ pushMatrix(); znoise += inc;
float boxSize = noise(xnoise, ynoise, znoise) * 255; float gr = 255 - boxSize;
float alph = boxSize; if (alph > 100) { translate(k, j, i); if (alph > 150) { fill(255, 35); } else { fill(20, gr + 50, 200, 10); } box(boxSize, boxSize, boxSize); }
popMatrix(); } popMatrix(); } popMatrix(); }
translate(150, 0, 0); stroke(255, 10); noFill();
noStroke(); }
0 notes