Skip to content

Instantly share code, notes, and snippets.

@bilalsavas
Created March 11, 2013 12:12
Show Gist options
  • Save bilalsavas/5133833 to your computer and use it in GitHub Desktop.
Save bilalsavas/5133833 to your computer and use it in GitHub Desktop.
PFont p;
void setup()
{
size(800, 600);
p = loadFont("Dialog.plain-48.vlw");
}
void draw()
{
background(0);
textFont(p, 32);
fill(#FFEE00);
text(a, 10, 50);
}
String a = "";
void keyPressed()
{
a+=key;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment