ist die Einführung in eine einfache, visuelle Programmiersprachen, mit der Konzepte für die generative Gestaltung von Inhalten zu entwickeln und umzusetzen. Das digitale Design löst die Vorstellung von einer statischen Form ab, bei der Konstanten durch...
Don't wanna be here? Send us removal request.
Video
tumblr
//Final Project - Rhiannon Mason //Changed from music video to game. Simplified for project but will explore gaming variations. //Music included - creative commons: Edward Shallow import java.io.File; import ddf.minim.*; import ddf.minim.analysis.*; import ddf.minim.effects.*; import ddf.minim.signals.*; import ddf.minim.spi.*; import ddf.minim.ugens.*; import processing.core.*; Minim minim; AudioPlayer player;
PFont font1; //Rhiannon Mason Creative Coding Summer Semester
void setup()
{ size (600,400); minim = new Minim(this); player = minim.loadFile(“Edward_Shallow.mp3”); player.loop(); font1 = loadFont(“Chalkboard-Bold-36.vlw”); }
float ballX = 0; float ballY = 0; float speedX = 5; float speedY = 0; int hit = 0; int miss = 0;
void draw() { if (mousePressed){hit = 0; miss = 0;} float paddle = 1000/(hit+10); if (ballX < 0 || ballX > width) speedX = -speedX; if (ballY > height) { speedY = -speedY; float distance = abs (mouseX - ballX); if (distance < paddle) hit += 1; else miss +=1; } else speedY +=1;
ballX += speedX; ballY += speedY;
background(255, 165, 80); fill (255, 255, 255); strokeWeight(2); ellipse(ballX, ballY, 50, 50); fill (80,215,255); rect(mouseX-paddle,height-10,2*paddle,10);
fill (0); textFont(font1, 20); text (“Click Mouse to Reset Game”, 10, 20); text (“Hit: ” + hit, 10, 50); text (“Miss: ” + miss, 10, 80); }
6 notes
·
View notes
Photo

//name game - e6 PFont font1; void setup (){ size(500,500); font1=loadFont(“Phosphate-Solid-300.vlw”); } void draw(){ background (221,173,232); textFont(font1,68); fill(0); textAlign(CENTER); fill(218,222,130); text(“Rhiannon”, 220, 150); fill(211,128,207); text(“Mason”,350,200); fill(181,145,214); text(“Rhiannon”, 220,250); fill(131,201,232); text(“Mason”, 350, 300); fill(131,237,139); text(“Rhiannon”,220,350); fill(237,139,129); text(“Mason”,350,400); save(“name.jpg”); }
2 notes
·
View notes
Video
tumblr
//Exercise 5 - Loop -Rhiannon Mason String[] headlines = { "SHIT YEAH", };
PFont f; float x; int index = 0;
void setup() { size(700, 500);
f = loadFont("Phosphate-Solid-80.vlw"); x = width; }
void draw() { background(255, 14, 140);
textFont(f, 200); textAlign(LEFT); text(headlines[index],x,280); x = x - 3;
float w = textWidth(headlines[index]); if (x < -w) { x = width; index = (index + 1) % headlines.length; loop(); } }
2 notes
·
View notes
Video
tumblr
//noisy - quiet / still - moving / narrow - wide / easy - difficult
PImage img; int direction = 1;
float signal;
void setup() { size(640, 480); stroke(25); img = loadImage("selfie.jpg"); img.loadPixels(); loadPixels(); } void draw() { if (signal > img.height-1 || signal < 0) { direction = direction * -1; } if (mousePressed == true) { signal = abs(mouseY % img.height); } else { signal += (0.3*direction); }
if (keyPressed == true) { set(0, 0, img); line(0, signal, img.width, signal); } else { int signalOffset = int(signal)*img.width; for (int y = 0; y < img.height; y++) { arrayCopy(img.pixels, signalOffset, pixels, y*width, img.width); } updatePixels(); } }
9 notes
·
View notes
Photo

size(1000,600); image(loadImage("Yellow-Red-Blue.jpg"), 0,0); // Load the image into the program save("Ex3Imageupload.jpg");
2 notes
·
View notes
Photo

Exercise 2 - Face // Rhiannon Mason size(500, 500); ellipse(250, 250, 200, 300); ellipse(215,215, 40, 25); ellipse(275,215, 40, 25); line(400,175,100,175); fill(0,0,4); ellipse(215, 215, 30, 25); ellipse(275, 215, 30, 25); line(250, 250, 230, 260); line(250, 250, 270, 260); line(200, 300, 300, 300); save("Ex1Face.jpg");
0 notes
Photo
E2 von Dana Valentin
________________________
size (500, 500); background (220); noStroke();
//ohren ellipse(100, 250, 20, 70); ellipse(400, 250, 20, 70);
//haare fill (100); ellipse (250, 230, 290, 310);
//face fill(255); ellipse (250, 250, 290, 350); ellipse (250, 310, 190, 250);
//nase fill(255); stroke (1); ellipse (250, 270, 50, 90); ellipse (250, 310, 60, 30); fill(0); ellipse (240, 315, 5, 5); ellipse (265, 315, 5, 5);
//eyes fill(255); stroke (1); ellipse (200, 200, 20, 20); ellipse (300, 200, 20, 20);
//pupille fill(0); ellipse (200, 200, 10, 10); ellipse (300, 200, 10, 10);
//falten fill(255); stroke (1); ellipse (200, 183, 40, 20); ellipse (300, 183, 40, 20); noStroke (); ellipse (200, 181, 90, 20); ellipse (300, 181, 90, 20);
////prillen //fill(240); //stroke(2); //ellipse (205,220,60,60); //ellipse (300,220,60,60); //line (236,200,270,200); //fill(0); //ellipse (205,220,5,5); //ellipse (300,220,5,5);
//mund fill(230); stroke (1); ellipse (250, 380, 60, 20); ellipse (250, 370, 80, 20);
1 note
·
View note
Photo
E1 von Dana Valentin
________________________
size (500, 500); background (255, 192, 203);
stroke (255); strokeWeight (0.1); line (55, 0, 55, 400); line (68, 0, 55, 400); line (69, 0, 55, 400); line (75, 0, 55, 400); line (87, 0, 55, 400); line (90, 0, 55, 400); line (95, 0, 55, 400); line (107, 0, 55, 400); line (178, 0, 55, 400); line (180, 0, 55, 400); line (191, 0, 55, 400); line (200, 0, 55, 400); line (230, 0, 55, 400); line (266, 0, 55, 400); line (300, 0, 55, 400); line (321, 0, 55, 400); line (329, 0, 55, 400); line (350, 0, 55, 400);
ellipse (210, 50, 50, 50); ellipse (220, 50, 40, 40); ellipse (230, 50, 30, 30); ellipse (240, 50, 20, 20); ellipse (245, 50, 10, 10); ellipse (255, 50, 2, 2); ellipse (260, 50, 2, 2); ellipse (268, 50, 2, 2); ellipse (275, 50, 2, 2); ellipse (278, 50, 2, 2); ellipse (282, 50, 1, 1); ellipse (290, 50, 1, 1); ellipse (300, 50, 1, 1); ellipse (312, 50, 1, 1); ellipse (330, 50, 1, 1); ellipse (350, 50, 1, 1); stroke (255); strokeWeight (1); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 30, 500); line (300, 400, 22, 500); line (300, 400, 67, 500); line (300, 400, 1, 500); line (300, 400, 412, 500); line (300, 400, 98, 500); line (300, 400, 66, 500); line (300, 400, 40, 500); line (300, 400, 450, 500); line (300, 400, 10, 500); line (300, 400, 400, 500); line (300, 400, 100, 500); line (300, 400, 40, 500); line (300, 400, 365, 500); line (300, 400, 312, 500); line (300, 400, 300, 500); line (300, 400, 200, 500); line (300, 400, 100, 500);
noStroke(); fill(0); rect (400, 233, 5, 5); rect (400, 260, 5, 15); rect (400, 303, 5, 5); rect (400, 320, 5, 5); rect (400, 339, 5, 5); rect (400, 346, 5, 5); rect (400, 366, 5, 5); rect (400, 381, 5, 5); rect (400, 390, 5, 5); rect (400, 410, 5, 5); rect (400, 420, 5, 5); rect (400, 440, 5, 5); rect (400, 366, 5, 5); rect (400, 381, 5, 5); rect (400, 390, 5, 5); rect (400, 410, 5, 5); rect (400, 420, 5, 5); rect (400, 440, 5, 5); rect (400, 460, 10, 10); rect (400, 480, 5, 5); rect (400, 490, 5, 20);
0 notes
Photo
Ciggy Box E1
//Jahlia Solomon
size(600, 600); strokeWeight(3); background(255);
line(100,400,250,150); line(250,150,400,250); line(400,250,250,500); line(100,400,250,500); line(100,400,100,440); line(100,440,250,540); line(250,500,250,540); line(250,540,400,290); line(400,250,400,290); line(205,225,250,325); line(250,325,360,315); line(360,315,360,355); line(280,170,350,50); line(350,50,370,65); fill(255,204,0); quad(350,50,370,65, 320,156,298,140); line(320,156,265,250);
//colour noStroke(); fill(198,0,0); quad(251,152,399,251,360,315,207,225); stroke(198,0,0); //sidequad quad(397,260,397,290,363,347,363,315); triangle(209,227,356,313,252,322);
0 notes
Photo
Morty E2
//Jahlia Solomon
void setup(){ size (500,500); background(255); strokeWeight(2); //haar fill(85,85,85); ellipse(245,200,290,290); //shirt stroke(4); fill(236,236,236); ellipse(250,450,200,400);
fill(241); ellipse(250, 250, 250, 250); fill(255); strokeWeight(1.5); ellipse(200,225,70,70); ellipse (310,225, 70,70); fill(0,0,0); ellipse(210,240,5,5); ellipse(320,240,5,5);
//mouth fill(0,0,0); ellipse(250,325,100,15);
//brows line(170,180,230,170); line(340,180,300,175); //nose line(250,250, 260,270); line(250, 270, 260,270);
//arms strokeWeight(2); line (180,390,180,500); line(320,390,320,500);
fill(255,255,255); rect(320,425,30.9,100); rect(150,425,30,100);
}
0 notes
Text
Final Project// Addiction-Clicker// Lasse Buchholz, Lênio Pereira Alves// SoSe2017
This is a small ironic Mini-Game to display the addiction level to games of a the playing person.
The Code:
int w = 0, cw = 0, pw = 0, price = 0, wPs = 0; int[] upgradeCost = new int[20]; PImage[] img = new PImage[43];
void setup() {
size(880, 500); noStroke(); img[0] = loadImage("LayoutFinish.png"); img[1] = loadImage("AddictionGrey.png"); img[2] = loadImage("AddictionRed.png"); img[3] = loadImage("Grand_Theft_Auto_logo_series.svg.png"); img[4] = loadImage("Grand_Theft_Auto_logo_series.svg2.png"); img[5]= loadImage("COD.png"); img[6]= loadImage("COD3.png"); img[7]= loadImage("BF.png"); img[8]= loadImage("BF2.png"); img[9]= loadImage("NeedForSpeed.png"); img[10]= loadImage("NeedForSpeed2.png"); img[11]= loadImage("Zelda.png"); img[12]= loadImage("Zelda2.png"); img[13]= loadImage("TheElder.png"); img[14]= loadImage("TheElder2.png"); img[15]= loadImage("logo.png"); img[16]= loadImage("logo2.png"); img[17]= loadImage("Angry_Birds_logos.png"); img[18]= loadImage("Angry_Birds_logos2.png"); img[19]= loadImage("Counter-Strike_Logo.png"); img[20]= loadImage("Counter-Strike_Logo2.png"); img[21]= loadImage("logo1.png"); img[22]= loadImage("logo12.png"); img[23]= loadImage("Overwatch.png"); img[24]= loadImage("Overwatch2.png"); img[25]= loadImage("FIFA.png"); img[26]= loadImage("FIFA2.png"); img[27]= loadImage("Mario.png"); img[28]= loadImage("Mario2.png"); img[29]= loadImage("RL.png"); img[30]= loadImage("RL2.png"); img[31]= loadImage("Lol.png"); img[32]= loadImage("Lol2.png"); img[33]= loadImage("HearthStone_logo_2016.png"); img[34]= loadImage("HearthStone_logo_20162.png"); img[35]= loadImage("Minecraft.png"); img[36]= loadImage("Minecraft2.png"); img[37]= loadImage("Dark_Souls_Logo.png"); img[38]= loadImage("Dark_Souls_Logo2.png"); img[39]= loadImage("Candy_Crush_Saga_Logo.png"); img[40]= loadImage("Candy_Crush_Saga_Logo2.png"); img[41]= loadImage("Warhammer.png"); img[42]= loadImage("Warhammer2.png"); upgradeCost[0] = 10; upgradeCost[1] = 100; upgradeCost[2] = 500; upgradeCost[3] = 1000; upgradeCost[4] = 2500; upgradeCost[5] = 10000; upgradeCost[6] = 20000; upgradeCost[7] = 50000; upgradeCost[8] = 100000; upgradeCost[9] = 250000; upgradeCost[10] = 500000; upgradeCost[11] = 1000000; upgradeCost[12] = 1500000; upgradeCost[13] = 2000000; upgradeCost[14] = 5000000; upgradeCost[15] = 10000000; upgradeCost[16] = 20000000; upgradeCost[17] = 50000000; upgradeCost[18] = 100000000; upgradeCost[19] = 500000000;
}
void draw() {
background(255); img[0].resize(0, 500); image(img[0], 0, 0); if (frameCount % 60 == 0) { Upgrade(); }
Sucht();
textSize(50); fill(0); text(w, 380, 70); img[1].resize(0, 400); image(img[1], 120,100); textSize(20); text("Suchtfaktor: " + wPs, 250, 230);
if ((mouseX > 450) && (mouseX < 490) && (mouseY > 350) && (mouseY < 400)) { if(mousePressed){ img[2].resize(0, 400); image(img[2], 120,100); textSize(20); text("Suchtfaktor: " + wPs, 250, 230); } } img[4].resize(0,55); image(img[4], 675,-10); //text("Cost:" + upgradeCost[0], 675, 50); if(w >= upgradeCost[0]){ img[3].resize(0,60); image(img[3], 675, -10); }
if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 0) && (mouseY < 50) && w >= upgradeCost[0] && mousePressed) { price = price + upgradeCost[0]; Upgrade(); wPs = wPs + 1; UpgradeCost(); } img[6].resize(0,16); image(img[6], 780,15); if(w >= upgradeCost[1]){ img[5].resize(0,16); image(img[5], 780,15); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 0) && (mouseY < 50) && w >= upgradeCost[1] && mousePressed) { price = price + upgradeCost[1]; Upgrade(); wPs = wPs + 2; UpgradeCost2(); } img[8].resize(0, 20); image(img[8], 663,60); if(w >= upgradeCost[2]){ img[7].resize(0,20); image(img[7], 663,60); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 50) && (mouseY < 100) && w >= upgradeCost[2] && mousePressed) { price = price + upgradeCost[2]; Upgrade(); wPs = wPs + 5; UpgradeCost3(); }
img[10].resize(0,15); image(img[10], 775,65); if(w >= upgradeCost[3]){ img[9].resize(0,15); image(img[9], 775,65); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 50) && (mouseY < 100) && w >= upgradeCost[3] && mousePressed) { price = price + upgradeCost[3]; Upgrade(); wPs = wPs + 10; UpgradeCost4(); } img[12].resize(0, 35); image(img[12], 663,105); if(w >= upgradeCost[4]){ img[11].resize(0,35); image(img[11], 663,105); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 100) && (mouseY < 150) && w >= upgradeCost[4] && mousePressed) { price = price + upgradeCost[4]; Upgrade(); wPs = wPs + 15; UpgradeCost5(); }
img[14].resize(0,19); image(img[14], 771,113); if(w >= upgradeCost[5]){ img[13].resize(0,19); image(img[13], 771,113); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 100) && (mouseY < 150) && w >= upgradeCost[5] && mousePressed) { price = price + upgradeCost[5]; Upgrade(); wPs = wPs + 20; UpgradeCost6(); } img[16].resize(0, 35); image(img[16], 657,155); if(w >= upgradeCost[6]){ img[15].resize(0,35); image(img[15], 657,155); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 100) && (mouseY < 150) && w >= upgradeCost[6] && mousePressed) { price = price + upgradeCost[6]; Upgrade(); wPs = wPs + 25; UpgradeCost7(); }
img[18].resize(0,22); image(img[18], 775,163); if(w >= upgradeCost[7]){ img[17].resize(0,22); image(img[17], 775,163); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 100) && (mouseY < 150) && w >= upgradeCost[7] && mousePressed) { price = price + upgradeCost[7]; Upgrade(); wPs = wPs + 50; UpgradeCost8(); } img[20].resize(0, 30); image(img[20], 653,205); if(w >= upgradeCost[8]){ img[19].resize(0,30); image(img[19], 653,205); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 150) && (mouseY < 200) && w >= upgradeCost[8] && mousePressed) { price = price + upgradeCost[8]; Upgrade(); wPs = wPs + 100; UpgradeCost9(); }
img[22].resize(0,35); image(img[22], 772,203); if(w >= upgradeCost[9]){ img[21].resize(0,35); image(img[21], 772,203); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 150) && (mouseY < 200) && w >= upgradeCost[9] && mousePressed) { price = price + upgradeCost[9]; Upgrade(); wPs = wPs + 250; UpgradeCost10(); } img[24].resize(0, 35); image(img[24], 663,255); if(w >= upgradeCost[10]){ img[23].resize(0,35); image(img[23], 663,255); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 200) && (mouseY < 250) && w >= upgradeCost[10] && mousePressed) { price = price + upgradeCost[10]; Upgrade(); wPs = wPs + 400; UpgradeCost11(); }
img[26].resize(0,35); image(img[26], 785,253); if(w >= upgradeCost[9]){ img[25].resize(0,35); image(img[25], 785,253); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 200) && (mouseY < 250) && w >= upgradeCost[11] && mousePressed) { price = price + upgradeCost[9]; Upgrade(); wPs = wPs + 1000; UpgradeCost12(); } img[28].resize(0, 35); image(img[28], 668,305); if(w >= upgradeCost[12]){ img[27].resize(0,35); image(img[27], 663,255); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 250) && (mouseY < 300) && w >= upgradeCost[12] && mousePressed) { price = price + upgradeCost[12]; Upgrade(); wPs = wPs + 1200; UpgradeCost13(); }
img[30].resize(0,35); image(img[30], 780,303); if(w >= upgradeCost[13]){ img[29].resize(0,35); image(img[29], 780,303); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 250) && (mouseY < 300) && w >= upgradeCost[13] && mousePressed) { price = price + upgradeCost[13]; Upgrade(); wPs = wPs + 1500; UpgradeCost14(); } img[32].resize(0, 35); image(img[32], 663,355); if(w >= upgradeCost[14]){ img[31].resize(0,35); image(img[31], 663,355); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 300) && (mouseY < 350) && w >= upgradeCost[14] && mousePressed) { price = price + upgradeCost[14]; Upgrade(); wPs = wPs + 2000; UpgradeCost15(); }
img[34].resize(0,32); image(img[34], 775,353); if(w >= upgradeCost[15]){ img[33].resize(0,32); image(img[33], 775,353); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 300) && (mouseY < 350) && w >= upgradeCost[15] && mousePressed) { price = price + upgradeCost[15]; Upgrade(); wPs = wPs + 4500; UpgradeCost16(); } img[36].resize(0, 22); image(img[36], 658,415); if(w >= upgradeCost[16]){ img[35].resize(0,22); image(img[35], 658,415); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 350) && (mouseY < 400) && w >= upgradeCost[16] && mousePressed) { price = price + upgradeCost[16]; Upgrade(); wPs = wPs + 6000; UpgradeCost17(); }
img[38].resize(0,18); image(img[38], 775,413); if(w >= upgradeCost[17]){ img[37].resize(0,20); image(img[37], 766,413); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 350) && (mouseY < 400) && w >= upgradeCost[17] && mousePressed) { price = price + upgradeCost[17]; Upgrade(); wPs = wPs + 10000; UpgradeCost18(); } img[40].resize(0, 45); image(img[40], 673,452); if(w >= upgradeCost[18]){ img[39].resize(0,45); image(img[39], 673,452); } if ((mouseX > 675)&& (mouseX < 720) && (mouseY > 400) && (mouseY < 450) && w >= upgradeCost[18] && mousePressed) { price = price + upgradeCost[18]; Upgrade(); wPs = wPs + 20000; UpgradeCost19(); }
img[42].resize(0,27); image(img[42], 770,463); if(w >= upgradeCost[19]){ img[41].resize(0,27); image(img[41], 770,463); } if ((mouseX > 780)&& (mouseX < 850) && (mouseY > 400) && (mouseY < 450) && w >= upgradeCost[19] && mousePressed) { price = price + upgradeCost[19]; Upgrade(); wPs = wPs + 50000; UpgradeCost20(); }
}
void mousePressed() { if ((mouseX > 450) && (mouseX < 490) && (mouseY > 350) && (mouseY < 400)) { cw = cw+1; } }
void Sucht() { w = (cw + pw) - price; }
void Upgrade() { pw = pw + wPs; }
void UpgradeCost() { upgradeCost[0] = upgradeCost[0] + upgradeCost[0]/10; }
void UpgradeCost2() { upgradeCost[1] = upgradeCost[1] + upgradeCost[1]/10; }
void UpgradeCost3() { upgradeCost[2] = upgradeCost[2] + upgradeCost[2]/10; }
void UpgradeCost4() { upgradeCost[3] = upgradeCost[3] + upgradeCost[3]/10; }
void UpgradeCost5() { upgradeCost[4] = upgradeCost[4] + upgradeCost[4]/10; }
void UpgradeCost6() { upgradeCost[5] = upgradeCost[5] + upgradeCost[5]/10; }
void UpgradeCost7() { upgradeCost[6] = upgradeCost[6] + upgradeCost[6]/10; }
void UpgradeCost8() { upgradeCost[7] = upgradeCost[7] + upgradeCost[7]/10; }
void UpgradeCost9() { upgradeCost[8] = upgradeCost[8] + upgradeCost[8]/10; }
void UpgradeCost10() { upgradeCost[9] = upgradeCost[9] + upgradeCost[9]/10; }
void UpgradeCost11() { upgradeCost[10] = upgradeCost[10] + upgradeCost[10]/10; }
void UpgradeCost12() { upgradeCost[11] = upgradeCost[11] + upgradeCost[11]/10; }
void UpgradeCost13() { upgradeCost[12] = upgradeCost[12] + upgradeCost[12]/10; }
void UpgradeCost14() { upgradeCost[13] = upgradeCost[13] + upgradeCost[13]/10; }
void UpgradeCost15() { upgradeCost[14] = upgradeCost[14] + upgradeCost[14]/10; }
void UpgradeCost16() { upgradeCost[15] = upgradeCost[15] + upgradeCost[15]/10; }
void UpgradeCost17() { upgradeCost[16] = upgradeCost[16] + upgradeCost[16]/10; }
void UpgradeCost18() { upgradeCost[17] = upgradeCost[17] + upgradeCost[17]/10; }
void UpgradeCost19() { upgradeCost[18] = upgradeCost[18] + upgradeCost[18]/10; }
void UpgradeCost20() { upgradeCost[19] = upgradeCost[19] + upgradeCost[19]/10; }
void Wissen() { w = (cw + pw) - price; }
0 notes
Text

PFont name; PFont nachname; void setup(){ size(900, 550); name = loadFont("Hanna2.vlw"); nachname = loadFont("Hanna2.vlw"); } void draw(){ background(#000000); textFont(name); fill(255); textSize(50); text ("Haaaannaaa", 250, 360); textFont(nachname); fill(#f4155f); textSize(110); text ("Talkanitsa", 50, 260); }
0 notes
Text

//E5
//HannaTalkanitsa
float flyX; float xSpeed = 17; float flyY; float ySpeed = 1; float beatX; float beatY; PImage fly; PImage beat; int x = 0; int y =200; void setup(){ size(1500, 1500);
fly = loadImage("fly.png"); beat = loadImage("beat.png"); } void draw (){ background(255);
image(fly, flyX, flyY); scale(0.5); image(beat, beatX, beatY); flyX=flyX+xSpeed; flyY=flyY+ySpeed; if (flyX>width*5.5 || flyX<0){ xSpeed = xSpeed* -1; } if (flyY>height*2.5 || flyY<0){ ySpeed = ySpeed* -15; } beatX=beatX+xSpeed; beatY=beatY+ySpeed; if (beatX>width*2 || beatX<0){ xSpeed = xSpeed* -1; } if (beatY>height*6 || beatY<0){ ySpeed = ySpeed* -15; } }
0 notes
Text

//E4
//HannaTalkanitsa PImage First, Second, Third;
float x; float y;
void setup(){ size(1000, 500); First = loadImage("1.png"); Second = loadImage("2.png"); Third = loadImage("3.png"); imageMode(CENTER); }
void draw(){
if (mouseX > 500) { background (#e52730); } else{ background(#4adbd9); }
if(mouseX > 500) { image(First, 250, 250); } else { image(Second, 250, 250); } if(mouseX < 500) { image(First, 750, 250); } else { image(Third, 750, 250); }}
0 notes
Text
//E1
//HannaTalkanitsa size(1500,1500);
background(#433336);
noStroke(); fill(#854448); rect(100,200,1200,1200);
noStroke(); fill(#352025); rect(200,300,1100,1100); noStroke(); fill(#352025); rect(300,400,1000,1000);
noStroke(); fill(#d32f3a); rect(300,400,900,900);
noStroke(); fill(#ed564d); rect(300,400,800,800); noStroke(); fill(#fa736f); rect(300,400,700,700); noStroke(); fill(#ff9e7e); rect(300,400,600,600); noStroke(); fill(#e98a88); rect(300,400,500,500); noStroke(); fill(#848484); rect(300,400,400,400); noStroke(); fill(#9aa56b); rect(300,400,300,300); noStroke(); fill(#a29640); rect(300,400,200,200); noStroke(); fill(#1f5438); rect(300,400,100,100);size(1500,1500);background(#433336);noStroke(); fill(#854448); rect(100,200,1200,1200);noStroke(); fill(#352025); rect(200,300,1100,1100); noStroke(); fill(#352025); rect(300,400,1000,1000);noStroke(); fill(#d32f3a); rect(300,400,900,900);noStroke(); fill(#ed564d); rect(300,400,800,800); noStroke(); fill(#fa736f); rect(300,400,700,700); noStroke(); fill(#ff9e7e); rect(300,400,600,600); noStroke(); fill(#e98a88); rect(300,400,500,500); noStroke(); fill(#848484); rect(300,400,400,400); noStroke(); fill(#9aa56b); rect(300,400,300,300); noStroke(); fill(#a29640); rect(300,400,200,200); noStroke(); fill(#1f5438); rect(300,400,100,100);
0 notes
Text
//E2- portrait //HannaTalkanitsa size(1500,1500); background(255);
noStroke(); fill(#848484); ellipse(750,250, 90,300); noStroke(); fill(#848484); ellipse(910,250, 90,300); noStroke(); fill(#848484); ellipse(830,250, 90,300); noStroke(); fill(#848484); ellipse(990,250, 90,300); noStroke(); fill(#848484); ellipse(670,250, 90,300); noStroke(); fill(#848484); ellipse(590,250, 90,300); noStroke(); fill(#848484); ellipse(510,250, 90,300);
noStroke(); fill(#3c3c3c); ellipse(290,890, 100,100); noStroke(); fill(#848484); ellipse(1200,750, 300,300);
noStroke(); fill(#3c3c3c); ellipse(1200,750, 200,200);
noStroke(); fill(#848484); ellipse(290,750, 300,300);
noStroke(); fill(#3c3c3c); ellipse(290,750, 200,200);
noStroke(); fill(#bababa); ellipse(750,750, 950,950);
noStroke(); fill(#3c3c3c); ellipse(750,1100,190,190);
noStroke(); fill(#bababa); ellipse(750,1100,150,150);
noStroke(); fill(#3c3c3c); ellipse(750,980,210,30);
noStroke(); fill(#848484); ellipse(550,580,210,70);
noStroke(); fill(#848484); ellipse(950,580,210,70);
noStroke(); fill(#050505); ellipse(550,580,50,50);
noStroke(); fill(#050505); ellipse(950,580,50,50);
noStroke(); fill(#ffffff); ellipse(550,580,10,10);
noStroke(); fill(#ffffff); ellipse(950,580,10,10);
0 notes