//#つぶやきProcessing 3D contour lines float x,y,z,t; void setup(){size(800,800,P3D);} void draw(){ clear();stroke(-1); camera(900*sin(t),700*cos(t),500,0,0,0,0,0,-1); for(y=0;y<999;y++)for(x=-0;x<999;x++){ if((z=(100*noise(x/99,y/99)))%5<1)point(x-500,y-500,z*2);} t+=PI/400;}
Sign in to add notes...
Sign in to manage galleries...