import processing.opengl.*; float animator = 0.1; void setup() { size(800, 600, OPENGL); frameRate = 60; background(0); smooth(); } void draw() { animator+=0.1; background(0); pushMatrix(); translate(width/10, height/10); rotateY(radians(60)); stroke(random(255), random(255), random(255)); for (int i = 0; i < width; i+=7) { for (int j = 0; j < height; j+=7) { point(i, j, animator); } } popMatrix(); pushMatrix(); translate(width/8, height/10); rotateY(radians(-30)); stroke(random(255), random(255), random(255)); for (int i = 0; i < width; i+=7) { for (int j = 0; j < height; j+=7) { point(i, j, animator); } } popMatrix(); }