Independence Day

Happy Fourth of July!

In the spirit of independence, here’s a WordCram made from the U.S. Declaration of Independence, with open-source software (Processing and WordCram), and open-source fonts (AveriaSerif-Regular¬†and Jane Austen):

You can see it at OpenProcessing; here’s the source, in its entirety:

import wordcram.*;

size(800, 500);

background(#F5F1E3);

PFont averia = createFont("AveriaSerif-Regular.ttf", 1);
PFont janeAusten = createFont("JaneAust.ttf", 1);

new WordCram(this)
  .fromTextFile("declaration.txt")
  .withFonts(averia, janeAusten)
  .withColors(#B20E0E, #0E12B2)
  .angledAt(0)
  .withWordPadding(1)
  .drawAll();
About these ads
This entry was posted in examples. Bookmark the permalink.