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.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s