View allAll Photos Tagged Processor
Built with Processing
import noc.*;
import hipstersinc.sunflow.*;
import hipstersinc.sunflow.shader.*;
import hipstersinc.*;
void setup() {
size(600, 900, "hipstersinc.P5Sunflow");
noStroke();
}
void draw() {
setupCamera();
background(255);
translate(width/2, 50, 0);
rotateX(QUARTER_PI);
rotateZ(QUARTER_PI);
fill(255);
float scl = 30;
int time = minute();
for(int j =0; j<3; j++){
Vector3D pos = new Vector3D(random(-500,500),random(-1000,300),-1000);
Vector3D rot = new Vector3D(0,0,0);
for(int i=0; i<3000; i++) {
float boxSize = 386+random(200);
pushMatrix();
translate(pos.x,pos.y,pos.z);
rotateX(rot.x);
rotateY(rot.y);
rotateZ(rot.z);
scale(random(.1),random(.4),random(.1));
box(boxSize);
Vector3D add = new Vector3D(random(-1,1),random(-1,1),random(-1,1));
add.mult(scl);
pos.add(add);
pos.z = constrain(pos.z,-800,-1400);
add = new Vector3D(random(-1,1),random(-1,1),random(-1,1));
add.mult(.05);
rot.add(add);
popMatrix();
}
}
saveFrame(int(minute()-time)+"minutesRendering.png");
saveFrame(int(minute()-time)+"minutesRendering.tif");
}
void setupCamera() {
P5Sunflow sunflow = (P5Sunflow) g;
//sunflow.camera.setType(SunflowCamera.PINHOLE);
sunflow.camera.setType(SunflowCamera.THINLENS);
sunflow.camera.setFocalDistance(450);
sunflow.camera.setLensRadius(12f);
sunflow.scene.setAaSamples(12);
}
Processed on a plane and sent via a slow phone connection. Next few days are likely to be more offline than online...
If you want to support my creativity, subscribe on my Patreon.
Become a patron of my Patreon channel today: Get access to exclusive photo content.
Only originals in higher resolution.
and not only....
9.23.07
Becoming mature means learning to accept what you cannot change, facing unresolved sorrows and learning to love life as it really happens, not as you would have it happen.
-Barbara Sher
I'll admit it. I hate to feel vulnerable. Things out of my control make me very uncomfortable. So, I look all around and look like crazy and get confused and more confused and then all of a sudden it hits me - all I had to do was look up. When will I learn?
This one is also dedicated to sweet Tricia today. Some positive thoughts going into her 35th year.
Inside view of generative channel system, programmed in processing using some toxiclibs but mostly straight forward vertex shapes. Channels are created by following pixel paths from light to dark in images, simulating water flow.
New prisoners received a nice haircut and were made to wear a heavy rubber punishment mask for the night.