xxxxxxxxxx
var cover;
function preload() {
cover = loadImage('Cover_U.jpg');
muli = loadFont('Muli-Bold.ttf');
}
function setup() {
createCanvas(567, 800);
background(223, 225, 214);
frameRate(15);
}
function draw() {
//image(cover, 0, 0, 567, 800);
background(223, 225, 214, 15);
//Text 1
fill(156,25,41);
stroke(156,25,41);
strokeWeight(0.1);
textFont(muli);
textSize(13);
translate (20, 48);
text('straight music presents victoria hall hanley advance tickets: ₤2.00', 0, 0);
//Text 2
fill(156,25,41);
stroke(156,25,41);
strokeWeight(0.1);
textFont(muli);
textSize(13);
translate (0, 17);
text('the undertones stoke-on-trent, england at the door: ₤2.50', 0, 0);
//Text 3
fill(156,25,41);
stroke(156,25,41);
strokeWeight(0.1);
textFont(muli);
textSize(13);
translate (-0.7, 32);
text('with special guests tuesday', 0, 0);
//Text 4
fill(156,25,41);
stroke(156,25,41);
strokeWeight(0.1);
textFont(muli);
textSize(13);
translate (-0.5, 18);
text('the chords june 5 1979 / 7:30 pm', 0, 0);
//Titel
var col = map(mouseX, fill(random(255), 0, 0), width, 0, 0);
if (mouseIsPressed)
fill(col);
else
fill(27,27,27);
stroke(27,27,27);
strokeWeight(1);
textFont(muli);
textSize(100);
translate (-3, 160);
var a = map( sin(millis()/800), -3, 1, -1.6, 1.6);
rotate(a);
text('undertones', 0, 0);
}