void setup(){ //ENVIRONMENT //size(842,595,P3D); size(400,400,P3D); //noStroke(); //smooth(); colorMode(HSB,1); cursor(CROSS); //IMAGE //Load Image //originalImg=loadImage("http://de.posi.to/parsons/picz/img.jpg"); originalImg=loadImage("img.jpg"); //Crop in relation to stage width and height imgCropX=int((originalImg.width-width)*.5); imgCropY=int((originalImg.height-height)*.5); //Crop and filter with POSTERIZE img=imgCropAndFilter(originalImg,imgCropX,imgCropY,width,height); //CIRCSHAPES SETUP lati=6; dAng=radians(360/lati); cosArr=new float [lati]; sinArr=new float [lati]; for(int i=0;i