import processing.opengl.*; float a; void setup() { background(0); size(400,400, OPENGL); fill(0); noStroke(); } void draw() { translate(width/2, height/2); rotateX(a); rotateY(a*10); rotateZ(a*5); fill(255,0,150,150); ellipse(-100, -100, 10, 10); a += 0.01; }