September 16, 2012
Blobs
import processing.opengl.*;void setup(){  size(500,500,OPENGL);  smooth();  frameRate(12);}void draw(){  background(255);  translate(width/2,height/2);  noStroke();    for (int i=1; i<9; i++){    rotateX(radians(sin(millis()*0.0005)*180));    pushMatrix();      rotateZ(radians(i*10));      translate(sin(i)*100,cos(i)*100);      fill(10,10,50);      sphere(60);    popMatrix();    pushMatrix();      rotateZ(radians(i*10));      translate(sin(i)*100,cos(i)*100,50);      fill(240,240,250);      sphere(45);    popMatrix();  }}

Blobs

import processing.opengl.*;

void setup(){
  size(500,500,OPENGL);
  smooth();
  frameRate(12);
}

void draw(){
  background(255);
  translate(width/2,height/2);
  noStroke();
 
  for (int i=1; i<9; i++){
    rotateX(radians(sin(millis()*0.0005)*180));
    pushMatrix();
      rotateZ(radians(i*10));
      translate(sin(i)*100,cos(i)*100);
      fill(10,10,50);
      sphere(60);
    popMatrix();
    pushMatrix();
      rotateZ(radians(i*10));
      translate(sin(i)*100,cos(i)*100,50);
      fill(240,240,250);
      sphere(45);
    popMatrix();
  }
}