Loading 3D models...
Loading 3D models...
by neldefant in art-abstract
Letter H on a 5x5 pixel grid, made up of smaller letter Hs. This is a diminutive version for VR viewing. Set size larger in the code and it's Hs all the way down! Made with the following openscad code: shape = [ [1,0,0,0,1], [1,0,0,0,1], [1,1,1,1,1], [1,0,0,0,1], [1,0,0,0,1] ]; size = 25; module show_shape(size ){ for (row = [ 0 : len(shape) - 1 ]) { for (col = [ 0 : len(shape[row]) - 1 ]) { if( shape[row][col] ){ translate([row*size/5,col*size/5]) if(size == 1){ square(size/5); } else{ show_shape(size/5); } } } } } translate([0,-size/2,size/2]) rotate([0,90,0]) linear_extrude(size/5) show_shape(size);