ITP

art is…

By Friday, September 23, 2005 One Comment

// is this art
// by mohit.santram // is theft art?

size(600, 400);
background(50);

// Load the art. art is located everywhere in the
// main Processing directory/art/folder and they
// must be placed within the imaginary directory
// of your head for them to load
PFont fontA = loadFont(“Ziggurat-HTF-Black-32.vlw”);

// why doesn’t this work?
// where is my damn font?

// Set the font and its size (in units of pixels)
textFont(fontA, 32);

int x = 30;

// Use fill() to change the value or color of the text
fill(0);
text(“is”, x, 60);
fill(51);
text(“theft”, x, 95);
fill(204);
text(“art”, x, 130);
fill(255);
text(“?”, x, 165);

//this code is based on processing example. based off of a processing example.

One Comment

Leave a Reply