3D
/** * winding road * * @author aa_debdeb * @date 2016/07/11 */ float xScale = 300; float yScale = 100; float zScale = PI / 1024; float speed = PI / 64; float eyeZ = PI / 8; float routeWidth = 100; void setup(){ size(500, 500, P3D); } void …
/** * wriggling sphere * * @author aa_debdeb * @date 2016/07/05 */ float radious = 200; int resolution = 40; PVector noiseOffset; void setup(){ size(500, 500, P3D); fill(160); stroke(200); strokeWeight(1); mousePressed(); } void mousePress…
/** * construction of sphere * * @author aa_debdeb * @date 2016/06/20 */ float radious = 200; int resolution = 30; int num = 0; int numStep = 1; int maxNum = resolution * (resolution / 2); void setup(){ size(500, 500, P3D); fill(255); stro…
/** * sphere without sphere() * * @author aa_debdeb * @date 2016/06/19 */ float radious = 200; void setup(){ size(500, 500, P3D); fill(0, 206, 209); stroke(128); strokeWeight(1); } void draw(){ background(0); // lights(); translate(width /…
/** * noisy sphere ring * * @author aa_debdeb * @date 2016/06/18 */ float radious = 200; float noiseScale = 0.01; float timeScale = 0.03; void setup(){ size(500, 500, P3D); } void draw(){ background(255); stroke(60); noFill(); translate(wi…
/** * line surrounding sphere * * @author aa_debdeb * @date 2016/06/10 */ float radious = 200; float radian; void setup(){ size(500, 500, P3D); noFill(); strokeWeight(2); stroke(0, 150); radian = 0.0; } void draw(){ background(255); transl…
/** * rings on sphere * * @author aa_debdeb * @date 2016/06/08 */ float radious = 200; ArrayList<Ring> rings; void setup(){ size(500, 500, P3D); rings = new ArrayList<Ring>(); noFill(); strokeWeight(5); stroke(0, 206, 209); } void draw(){ background(3</ring></ring>…
/** * reflection and fragmentation * * @author aa_debdeb * @date 2016/05/24 */ ArrayList<Particle> particles; float gravity = -0.1; void setup(){ size(500, 500, P3D); particles = new ArrayList<Particle>(); sphereDetail(16); } void draw(){ background(0); trans</particle></particle>…
/** * camera manipulation * * @author aa_debdeb * @date 2016/05/21 */ Cam cam; ArrayList<Obj> objs; void setup(){ size(500, 500, P3D); cam = new Cam(); objs = new ArrayList<Obj>(); for(int i = 0; i < 100; i++){ objs.add(new Obj()); } } void draw(){ </obj></obj>…
/** * camera on sine curve * * @author aa_debdeb * @date 2016/05/20 */ ArrayList<Block> blocks; float speed = 30; void setup(){ size(500, 500, P3D); noFill(); stroke(0,255, 0); blocks = new ArrayList<Block>(); } void draw(){ background(0); translate(wid</block></block>…
/** * particles following mouse in 3D * * @author aa_debdeb * @date 2016/05/18 */ float MAX_VEL = 20.0; float MAX_ACC = 1.0; ArrayList<Particle> particles; void setup(){ size(640, 640, P3D); sphereDetail(16); particles = new ArrayList<Particle>(); for(int i =</particle></particle>…
/** * view on orbital path * * @author aa_debdeb * @date 2016/05/17 */ ArrayList<Obj> objs; void setup(){ size(500, 500, P3D); objs = new ArrayList<Obj>(); for(int i = 0; i < 200; i++){ objs.add(new Obj()); } noStroke(); } void draw(){ background(0)</obj></obj>…
/** * view from a particle * * @author aa_debdeb * @date 2016/05/16 */ Particle cP; ArrayList<Particle> particles; float radious = 5; void setup(){ size(500, 500, P3D); cP = new Particle(); particles = new ArrayList<Particle>(); for(int i = 0; i < 100; i++){ </particle></particle>…
/** * objects from deep * * @author aa_debdeb * @date 2016/05/15 */ ArrayList<Obj> objs; void setup(){ size(500, 500, P3D); objs = new ArrayList<Obj>(); noStroke(); colorMode(HSB, 360, 100, 100); } void draw(){ background(180, 12, 100); // lights();</obj></obj>…
/** * camera in sphere * * @author aa_debdeb * @date 2016/05/14 */ ArrayList<PVector> points; void setup(){ size(500, 500, P3D); points = new ArrayList<PVector>(); float r = width / 2; for(int i = 0; i < 300; i++){ float radian1 = random(PI / 2); float radi</pvector></pvector>…
/** * tornado * * @author aa_debdeb * @date 2016/05/13 */ ArrayList<Block> blocks; void setup(){ size(500, 500, P3D); blocks = new ArrayList<Block>(); rectMode(CENTER); noStroke(); } void draw(){ lights(); background(220); translate(width / 2, 3 * heigh</block></block>…
/** * cloud of box * * @author aa_debdeb * @date 2016/05/11 */ int angleCount = 100; ArrayList<Box> boxes; PVector angle1, angle2; void setup(){ size(500, 500, P3D); noFill(); stroke(255, 192); boxes = new ArrayList<Box>(); for(int i = 0; i < 200; i</box></box>…
/** * perspective vs orthographic * * @author aa_debdeb * @date 2016/05/09 */ boolean isPerspective; void setup(){ size(500, 500, P3D); isPerspective = true; fill(0, 255, 157); stroke(128); } void draw(){ lights(); background(255, 228, 225…
/** * block stream * * @author aa_debdeb * @date 2016/05/08 */ ArrayList<Block> blocks; void setup(){ size(500, 500, P3D); blocks = new ArrayList<Block>(); float z = 200; while(z >= -800){ blocks.add(new Block(z)); z -= 20; } fill(255, 69, 0); noStroke(</block></block>…
/** * cycle of points * * @author aa_debdeb * @date 2016/05/07 */ ArrayList<Particle> particles; void setup(){ size(640, 480, P3D); particles = new ArrayList<Particle>(); for(int i = 0; i < 500; i++){ particles.add(new Particle()); } noStroke(); fill(255, 255</particle></particle>…
/** * golden balls * * @author aa_debdeb * @date 2016/05/05 */ ArrayList<PVector> points; void setup(){ size(500, 500, P3D); points = new ArrayList<PVector>(); while(points.size() < 500){ float radious = random(200); float radian1 = random(PI); float radian</pvector></pvector>…
/** * cameara movement * * @author aa_debdeb * @date 2016/05/04 */ PVector center; float cameraZ; void setup(){ size(500, 500, P3D); center = new PVector(width / 2, height / 2, height / 2); cameraZ = -500; } void draw(){ background(255); f…
/** * flow in 3D box * * @author aa_debdeb * @date 2016/04/30 */ float depth = 500; PVector[] nOffset; float nScale = 0.01; float stepSize = 3; ArrayList<Particle> particles; void setup(){ size(500, 500, P3D); nOffset = new PVector[3]; for(int i = 0</particle>…
/** * city builder * * @author aa_debdeb * @date 2016/04/29 */ int[][] blocks; int num = 50; int bsize = 10; void setup(){ size(500, 500, P3D); blocks = new int[num][num]; for(int x = 0; x < num; x++){ for(int y = 0; y < num; y++){ blocks[…
/** * stack of blocks * * @author aa_debdeb * @date 2016/04/28 */ int[][] blocks; int num = 50; int bsize = 10; void setup(){ size(500, 500, P3D); blocks = new int[num][num]; for(int x = 0; x < num; x++){ for(int y = 0; y < num; y++){ bloc…
/** * converged lines * * @author aa_debdeb * @date 2016/04/24 */ void setup(){ size(500, 500, P3D); stroke(0, 30); } void draw(){ background(255); for(int w = 0; w <= width; w += 20){ for(int h = 0; h <= height; h += 20){ line(w, h, -1000…
/** * 3d noise surface * * @author aa_debdeb * @date 2016/04/23 */ float stepSize = 10; float maxDepth = 200; void setup(){ size(640, 640, P3D); noFill(); stroke(0, 0, 255); strokeWeight(2); } void draw(){ background(32); for(float w = 0; …
/** * ring absorption * * @author aa_debdeb * @date 2016/04/22 */ float radious1 = 200; float radious2 = 80; void setup(){ size(640, 640, P3D); noStroke(); fill(255); } void draw(){ background(32); lights(); translate(width / 2, height / 2…
/** * box rotation by mouse * * @author aa_debdeb * @date 2016/04/21 */ float maxVel = PI / 16; float velStep = PI / 64; color c1 = color(255, 20, 146); color c2 = color(51, 4, 29); ArrayList<Box> boxes; void setup(){ size(640, 640, P3D); strok</box>…
/** * flow on earth * * @author aa_debdeb * @date 2016/04/20 */ float radious = 250; ArrayList<Particle> particles; PVector noiseOffset1, noiseOffset2; float noiseScale = 0.01; float maxVel = PI / 32; void setup(){ size(640, 640, P3D); mousePressed(</particle>…