Skip to content

Instantly share code, notes, and snippets.

@hanneshier
hanneshier / clockTimeZone
Created February 24, 2015 20:28
clock with time zone
int timeZone = 0;
void setup() {
size(500,500);
frame.setResizable(true);
noFill();
ellipseMode(CENTER);
textAlign(CENTER,CENTER);
}
@hanneshier
hanneshier / changeableBall
Last active August 29, 2015 14:15
changeableBall
boolean directionX; // true = rechts; false = links
boolean pause; // true = pause; false = ingame
int speedX = 3;
int ballSize = 100;
int positionX = ballSize;
int colourR = round(random(255));
int colourG = round(random(255));
int colourB = round(random(255));
void setup() {