xxxxxxxxxx
var cover;
var gothic;
function preload(){
cover = loadImage("Buchcover.jpg");
gothic = loadFont("warsawgothic.otf");
}
function setup() {
createCanvas(559, 800);
background(100);
}
function draw() {
/*
//VORLAGE
push();
imageMode(CENTER)
image(cover, windowWidth/2, windowHeight/2, 559, 800);
pop();
*/
//HINTERGRUND
push();
fill(230, 230, 222, 20);
noStroke();
rectMode(CENTER);
rect(0,0, 1300, 1700);
pop();
//BLAUER KREIS
push();
fill(0, 22,152,35)
noStroke()
ellipse(403, sin (millis()/1500)*300+400, 175);
pop();
//ROTER KREIS
push();
fill(122,0 ,0 ,20)
noStroke()
ellipse(sin (millis()/50)*4+403, 370 , 175);
pop();
//LINIE SENKRECHT 1 MOVED
push();
fill(38, 36, 24)
noStroke()
if (mouseIsPressed){
rect(305,sin (millis()/1500)*100+165, 7,200);
}
else {
rect(305,271, 7,100);
}
pop();
//LINIE SENKRECHT 1.1 STATISCH
push();
fill(38, 36, 24)
noStroke()
rect(305 ,34 , 7, 240);
pop();
//LINIE SENKRECHT 1.2 STATISCH
push();
fill(38, 36, 24)
noStroke()
rect(305 ,461 , 7, 314);
pop();
//LINIE SENKRECHT 2
push();
fill(38, 36, 24)
noStroke()
rect(495, 34 , 7, 742)
pop();
//LINIE WAAGRECHT 1 MOVED
push();
fill(38, 36, 24)
noStroke()
rect(sin (millis()/1500)*222-200, 271 , 500, 7)
pop();
//LINIE WAAGRECHT 1 STATISCH
push();
fill(38, 36, 24)
noStroke()
rect(38, 271 , 274, 7)
pop();
//LINIE WAAGRECHT 2 MOVED
push();
fill(38, 36, 24)
noStroke()
rect(sin (millis()/1500+600)*222-200, 461 , 500, 7)
pop();
//LINIE WAAGRECHT 2 STATISCH
push();
fill(38, 36, 24)
noStroke()
rect(38, 461 , 272, 7)
pop();
//HINTERGRUND BALKEN LINKS
push();
fill(230, 230, 222);
noStroke();
rect(0, 0, 39, 800);
pop();
//HINTERGRUND BALKEN RECHTS
push();
fill(230, 230, 222);
noStroke();
rect(520, 0, 40, 800);
pop();
//HINTERGRUND BALKEN OBEN
push();
fill(230, 230, 222);
noStroke();
rect(0, 0, 320, 34);
pop();
//HINTERGRUND BALKEN UNTEN
push();
fill(230, 230, 222);
noStroke();
rect(0, 766, 320, 34);
pop();
//TEXTE
//BUCHTITEL Zeile 1
push();
fill(0);
textFont(gothic);
textSize(55, 200);
text("de Boer-", 40, 338);
pop();
//BUCHTITEL Zeile 2
push();
fill(0);
textFont(gothic);
textSize(55, 200);
text("Reitz-", 40, 388);
pop();
//BUCHTITEL Zeile 3
push();
fill(0);
textFont(gothic);
textSize(55, 200);
text("Quartett", 40, 438);
pop();
//MITWIRKEND
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("Mitwirkend: Robert Lüthi, Viola", 40, 501);
pop();
//TONHALLLE KLEINER SAAL
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("Tonhalle Kleiner Saal", 319, 54);
pop();
//DONNERSTAG
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("Donnerstag, 1. Mai, 20.15 Uhr", 319, 71);
pop();
// VIII. KAMMERMUSIKABEND
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("VIII. Kammermusikabend", 319, 90);
pop();
//DER TONHALLE GESELLSCHAFT
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("der Tonhalle-Gesellschaft", 319, 107);
pop();
//Z. KODÁLY
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("Z. Kodály", 319, 603);
pop();
//TRIO FÜR ZWEI VIOLINEN UND VIOLA
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("Trio für zwei Violinen und Viola", 319, 623);
pop();
//S. PROKOFIEFF
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("S. Prokofieff", 319, 641);
pop();
//SONATE FÜR ZWEI VIOLINEN
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("Sonate für zwei Violinen", 319, 659);
pop();
//P. HINDEMITH
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("P. Hindemith", 319, 676);
pop();
//SONATE FÜR CELLO ALLEIN
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("Sonate für Cello allein", 319, 695);
pop();
//J. BRAHMS
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("J. Brahms", 319, 713);
pop();
//STREICHQUINTETT IN G-DUR
push();
fill(0);
textFont(gothic);
textSize(20, 200);
text("Streichquintett in G-Dur", 319, 731);
pop();
}