If We Could Just Slow Down

Screen Shot 2016-09-29 at 11.05.32 AM.png

CODE:

int size = 30;
int r=255;
int g=255;
int b=255;

void setup () {
size (1000, 700);
background (0);

textAlign(CENTER, CENTER);
smooth();
}

void draw () {
noStroke ();
if (mouseButton == LEFT) {
fill (r, g, b);
textSize (size);

//LOWER CASE
if (key == ‘a’) {
text (“a”, mouseX, mouseY);
} //b
if (key == ‘b’) {
text (“b”, mouseX, mouseY);
} //c
if (key == ‘c’) {
text (“c”, mouseX, mouseY);
} //d
if (key == ‘d’) {
text (“d”, mouseX, mouseY);
} //e
if (key == ‘e’) {
text (“e”, mouseX, mouseY);
} //f
if (key == ‘f’) {
text (“f”, mouseX, mouseY);
} //g
if (key == ‘g’) {
text (“g”, mouseX, mouseY);
} //h
if (key == ‘h’) {
text (“h”, mouseX, mouseY);
} //i
if (key == ‘i’) {
text (“i”, mouseX, mouseY);
} //j
if (key == ‘j’) {
text (“j”, mouseX, mouseY);
} //k
if (key == ‘k’) {
text (“k”, mouseX, mouseY);
} //l
if (key == ‘l’) {
text (“l”, mouseX, mouseY);
} //m
if (key == ‘m’) {
text (“m”, mouseX, mouseY);
} //n
if (key == ‘n’) {
text (“n”, mouseX, mouseY);
} //o
if (key == ‘o’) {
text (“o”, mouseX, mouseY);
} //p
if (key == ‘p’) {
text (“p”, mouseX, mouseY);
} //q
if (key == ‘q’) {
text (“q”, mouseX, mouseY);
} //r
if (key == ‘r’) {
text (“r”, mouseX, mouseY);
} //s
if (key == ‘s’) {
text (“s”, mouseX, mouseY);
} //t
if (key == ‘t’) {
text (“t”, mouseX, mouseY);
} //u
if (key == ‘u’) {
text (“u”, mouseX, mouseY);
} //v
if (key == ‘v’) {
text (“v”, mouseX, mouseY);
} //w
if (key == ‘w’) {
text (“w”, mouseX, mouseY);
} //x
if (key == ‘x’) {
text (“x”, mouseX, mouseY);
} //y
if (key == ‘y’) {
text (“y”, mouseX, mouseY);
} //z
if (key == ‘z’) {
text (“z”, mouseX, mouseY);

//OTHER
} //?
if (key == ‘/’) {
text (“?”, mouseX, mouseY);
} //.
if (key == ‘.’) {
text (“.”, mouseX, mouseY);
} //!
if (key == ‘,’) {
text (“!”, mouseX, mouseY);
}

//COLOR
} //red
if (key == ‘1’) {
r=255;
g= 20;
b=20;
} //orange
if (key == ‘2’) {
r=255;
g=140;
b=0;
} //yellow
if (key == ‘3’) {
r=255;
g=211;
b=0;
} //green
if (key == ‘4’) {
r=20;
g=255;
b=20;
} //blue
if (key == ‘5’) {
r=20;
g=20;
b=255;
} //purple
if (key == ‘6’) {
r=143;
g=0;
b=255;
} //pink
if (key == ‘7’) {
r=255;
g=182;
b=193;
} //brown
if (key == ‘8’) {
r=123;
g=63;
b=0;
} //white
if (key == ‘9’) {
r=255;
g=255;
b=255;
} //black
if (key == ‘0’) {
r=0;
g=0;
b=0;
}

//CLEAR ALL
if (mouseButton == RIGHT) {
background (0);
}
}

This entry was posted in Non-Time Based and tagged , , , . Bookmark the permalink.

Leave a comment