Polysynchronous II

Rupert Russell

Ballarat, Australia

  • Available
    Products
    57
  • Artist
    Notes
  • Artwork Comments 1

Apparel

Cases & Skins

Wall Art

Home Decor

Accessories

Stationery

Artist's Description

Created with processing
and the wordcram library

see also: Making a wordcram video
source code below:

import wordcram.;
import java.awt.
;

void setup() {
size(4000, 4000);
background(255);

PImage image = loadImage(“yinyang4.png”);
image.resize(width, height);

Shape imageShape = new ImageShaper().shape(image, #000000);
ShapeBasedPlacer placer = new ShapeBasedPlacer(imageShape);

new WordCram(this).
fromWords(repeatWord(“synchronous”, 1000)).
withPlacer(placer).
withNudger(placer).
sizedByWeight(1, 400).
angledAt(0).
withColor(#F5B502).
drawAll();

imageShape = new ImageShaper().shape(image, #ffffff);
placer = new ShapeBasedPlacer(imageShape);

new WordCram(this).
fromWords(repeatWord(“Poly”, 1000)).
withPlacer(placer).
withNudger(placer).
sizedByWeight(1, 400).
angledAt(0).
withColor(#000000).
drawAll();

save(“Polysynchronous4005.png”);
exit();

}

Word[] repeatWord(String word, int times) {
Word[] words = new Word[times];
for (int i = 0; i < words.length; i++) {
// Give the words a random weight, so they’re sized differently.
words[i] = new Word(word, random(1));
}
return words;
}

Artwork Comments

desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait
desktop tablet-landscape content-width tablet-portrait workstream-4-across phone-landscape phone-portrait