Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 393 Bytes
void setup() {
size(960, 540);
pixelDensity(displayDensity());
}
void draw() {
background(220);
}
void keyPressed() {
switch(key) {
case '1': cursor(ARROW); break;
case '2': cursor(CROSS); break;
case '3': cursor(HAND); break;
case '4': cursor(MOVE); break;
case '5': cursor(TEXT); break;
case '6': cursor(WAIT); break;
case '7': noCursor(); break;
}
}