One Code One Week – Week 3: SssssssssS

Title: Hike
Time: 22 January 2011
Place: Home, just in front of TV
Tool: Processing

This is my tribute to the film “Sssssss”, a 1973 killer snake movie. I just love the title and I decided to exploit the title and re-imagining it in a different way.

Code starts here:


PFont fontA;

void setup() {
size(800, 800, P3D);
smooth();
colorMode (HSB);
fontA = loadFont(“GloucesterMT-ExtraCondensed-48.vlw”);
textFont (fontA, 190);
}

void draw() {
background (140);
translate (width/2, height/2-60);
for (int i = 0; i < 51; i++) {
textAlign(CENTER);
pushMatrix();
fill (100, 250, i*2);
rotate (PI*i/10);
text (“SssssssssS”, 0, 0, i/4);
popMatrix();
//fill (0);
//line (20, 20, i, i);
}
translate (80, 120);
for (int i = 0; i < 55; i++) {
textAlign(CENTER);
pushMatrix();
fill (150, 90, i*2);
rotate (PI*i/10);
text (“SssssssssS”, 0, 0, i/4);
popMatrix();
}
translate (-160, 0);
for (int i = 0; i < 50; i++) {
textAlign(CENTER);
pushMatrix();
fill (250, 100, i*2);
rotate (PI*i/10);
text (“SssssssssS”, 0, 0, i/4);
popMatrix();
}
}

Leave a Reply