Skip to content

Instantly share code, notes, and snippets.

@taesiri
Last active December 25, 2018 22:34
Show Gist options
  • Save taesiri/b2dff99cb86c2d2d0af7c12616cf98ee to your computer and use it in GitHub Desktop.
Save taesiri/b2dff99cb86c2d2d0af7c12616cf98ee to your computer and use it in GitHub Desktop.
Font Fusion
PFont myFont;
void setup() {
size(1000, 1000);
String[] fontList = PFont.list();
int counter = 0;
background(0);
for(String fontName : fontList) {
myFont = createFont(fontName, 210);
textFont(myFont);
textAlign(CENTER, CENTER);
fill(255, 255, 255, 1);
text("HELLO", width/2, height/2);
counter++;
if(counter>75)
break;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment