“Chromesthesian Piano Painting” Ornella Brown 2019318166Interactive Video “Chromesthesian Piano Painting” is an audio visualization application in which users click a key or color on a keyboard and a note is played. Each note corresponds with a color and the color is what a person with a condition known as Chromesthesia would see when they hear …
Category Archives: Uncategorized
Week 14 Homework
My code: ArrayList points = new ArrayList(); void setup () { size(800, 500); } void draw() { background(0); for (int i=0; i<7; i++) { if (mouseX > 50 +(i100)-50 && mouseX < 50 +(i100)-50 + 100) { fill(255, 0, 0); } else { fill(#FABBBB); } rect(50 + i*100, 250, 100, 100); } strokeWeight(5); if (keyPressed) …
Week 13 Homework
ArrayList points = new ArrayList(); void setup () { size(800, 500); } void draw() { background(0); for (int i=0; i<7; i++) { if (mouseX > 50 +(i100)-50 && mouseX < 50 +(i100)-50 + 100) { fill(255, 0, 0); } else { fill(#FABBBB); } rect(50 + i*100, 250, 100, 100); } stroke(255); strokeWeight(5); for (int i=1; …
Week 12 Homework
– I’m currently trying to make it so that random lines will appear only if you press the following keys: z, x, c, v, b, n and m. – I have not successfully done that yet, but this is the code I used to try to achieve that. if (keyPressed) { if(key == ‘z’){ line(P0.x, …
Week 11 Homework
Here are the 2 codes I’m working with: Code 1: void setup (){ size(800, 500); } void draw() { background(0); for(int i=0; i<7; i++){ if(mouseX > 50 +(i100)-50 && mouseX < 50 +(i100)-50 + 100){ fill(255, 0, 0); } else { fill(#FABBBB); } rect(50 + i*100, 250, 100, 100); } } Code 2: boolean is_pressed …
Week 10 Homework: Final Project Idea
Chromesthesian Piano Painting 2019318166Ornella BrownInteractive Video 2019, SKKU “Chromesthesian Piano Painting” is a data and audio visualization application in which users click a key or color on a keyboard and a note is played. Each note corresponds with a color and the color is what a person with a condition known as Chromesthesia would see …
Week 9 Homework
Week 7 Homework
String[] name = { “Mon:”, “Tues:”, “Wed:”, “Thurs:”, “Fri:”, “Sat:”, “Sun:”, }; int[] airQuality = { 77, 39, 65, 104, 28, 84, 101, }; void setup(){ size(1000, 500); fill(#FFFFFF) ; } void draw(){ background(#A7E2FF) ; int x=0; for(int i=0;i<7;i++){ for(int n=0; n<airQuality[i]; n++){ pushMatrix(); scale(.55); //translate(-145,-240); translate(i*256-145, n*6-240); stroke (0); fill(255,255,255); beginShape(); vertex(202, 343); bezierVertex(138, …
Week 6 Homework
I am having trouble understanding this week’s homework so I have not yet finished my code, but I am still working on it! This is what I have so far: int[] airQuality = new int [7]; void setup() { size(1000,500); airQuality[0] = 77; airQuality[1] = 39; airQuality[2] = 65; airQuality[3] = 104; airQuality[4] = 28; …
Week 5 Homework
My code depicts a rainbow with the Sun/Moon moving left to right within the frame. When the mouse is clicked, the Sun changes to the moon. There is also a pot of gold underneath the rainbow, with one loose coin flying around. My Code: float circleX = 0; float speedX = 1; int value = …