Last active
December 25, 2018 22:34
-
-
Save taesiri/b2dff99cb86c2d2d0af7c12616cf98ee to your computer and use it in GitHub Desktop.
Font Fusion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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