New code colors for testing 2b8

This commit is contained in:
Casey Reas
2012-12-09 21:49:22 +00:00
parent a26e64c515
commit cf68f4ed28
7 changed files with 30 additions and 25 deletions
@@ -9,10 +9,15 @@
// The next line is needed if running in JavaScript Mode with Processing.js
/* @pjs font="Georgia.ttf"; */
PFont f;
void setup() {
size(640, 360);
// Create the font
textFont(createFont("Georgia", 24));
println(PFont.list());
f = createFont("Serif", 24);
textFont(f);
}
void draw() {