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);
}
Another bifurcation diagram made over breakfast. This one is for the function f(x) = cos(pi(x-0.5))-0.1sin(16x)(1-x).
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.
Video of Jupiter from Dec. 2022. Mewlon 210 and QHY 5lll 290C camera. 50% of 3000 images stacked with Registax, Astrosurface and Autostakkert. Registax used for sharpening. Do you think there is a clear winner?
Clock programmed using Processing. The 'planets' follow the hour, minute, and second hand, whilst the gradients change hue gradually each minute. The gradient is produced by changing the HSB values, with brightness highest for the outer ring and becoming darker by 10% for each ring towards the centre.
Ageing is a natural process. Everyone must undergo this phase of life at his or her own time and pace. In the broader sense, ageing reflects all the changes taking place over the course of life. These changes start from birth—one grows, develops and attains maturity. To the young, ageing is exciting. Middle age is the time when people notice the age-related changes like greying of hair, wrinkled skin and a fair amount of physical decline. Even the healthiest, aesthetically fit cannot escape these changes. Slow and steady physical impairment and functional disability are noticed resulting in increased dependency in the period of old age.
Sunday morning breakfast, not looking forward to the "housework" today.