WordCram

open-source word clouds for Processing

Follow WordCram on Twitter @wordcram

Ask a Question in the Forum /wordcram

Pull Requests Welcome on GitHub danbernier/WordCram

Latest News

WordCram 1.0.0 Released, for Processing 3.0

WordCram 0.6.2 Released

WordCram 0.6.1 Released

All posts

2011 State of the Union Address, WordCrammed

Twelve other runs:

The code for all of them:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import wordcram.*;
import wordcram.text.*;

void setup() {
  size(700, 500);
}

void draw() {
  background(255);
  new WordCram(this)
    .fromTextFile("state-of-the-union.txt")
    .withColors(
      color(0), color(230, 0, 0), color(0, 0, 230))
    .withPlacer(Placers.centerClump())
    .sizedByWeight(10, 100)
    .drawAll();

  saveFrame("sotu-##.png");
}

<<

>>