import peasy.*; PeasyCam cam; void setup() { size(200,200,P3D); cam = new PeasyCam(this, 100); cam.setMinimumDistance(50); cam.setMaximumDistance(500); } void draw() { rotateX(-.5); rotateY(-.5); background(0); fill(255,0,0); box(30); pushMatrix(); translate(0,0,20); fill(0,0,255); box(5); popMatrix(); } peasycam v302 A library by Jonathan Feinberg for the programming environment processing. Distr