AESTHETIC Cube Glitch Pot
AESTHETIC Cube Glitch Pot
Published 2018-05-29T15:21:12+00:00
I think generative art is super cool but I haven't really spent the tme to get into it. Until now, I guess. here's an experiment with random cuboids bound by a "distance from center" envelope. Printed at 1/2 scale because it's a big-boi and I wanted to chew up some of the filament scraps I had laying around.
Here's the OpenSCAD code (I didn't record the seed of the ones that are uploaded, sorry!):
width = 100;
height = 100;
sub = 4;
zee = 20;
small=5;
seed = 3929232487;
union(){
for(c=[0:199]){
allrandos = rands(0,1,5,seed+c);
x=width*allrandos[0];
//echo(x);
y=height*allrandos[1];
//echo(y);
vect=[x,y,0];
centdist = norm([(width/2)-x, (height/2)-y, 0]);
//centdist = norm(vect);
//echo(centdist);
cx= small+allrandos[3]*(width/sub); //rands(small,width/sub,1)[0];
cy=small+allrandos[3]*(height/sub); //rands(small,height/sub,1)[0];
cz=small+allrandos[3]*norm(vect); //rands(small,norm(vect),1)[0];
translate(vect) color([rands(0,1,1)[0],rands(0,1,1)[0],rands(0,1,1)[0]]) cube(size=[cx,cy,pow(centdist,1.1)]);
}
}
Pictured printed at 1/2 scale, 0.2mm layer height with random filament swaps.
Date published | 29/05/2018 |
Technology | FDM |
Complexity | Easy |
Support Free | YES |