Exercise 1: Virtual Music Launchpad I spent most of the time on this exercise because I did not know how to play the music every time I press the keyboard. At first, I tried many different ways but still could not solve the problem that every second the music is been played. I also gave up the thought of array because it's too complicated for inserting four audion files. Therefore, I discussed this with LA Sarah twice and learned 'playSound1 = !playSound1' and sound1.isPlaying() to achieve the task. Code: import processing.sound.*; Boolean playSound1 = ...
Archives for April 2022
Final Project: Essay
A. PROJECT Title: Fight for Vegetables B. PROJECT STATEMENT OF PURPOSE Obviously, this project adopted the idea of the lockdown life in Shanghai, especially in early April. Pudong and Puxi were all being quarantined, people could not go out to buy food and did not receive many of the government-issued packages, the only way to avoid starving is to use different selling platforms by keep tapping the 'pay' button as quickly as possible. Therefore, to record this impressive experience, I decided to create an interactive game to mock the situation of panic-buying food online. For people located ...
Recitation 8
Exercise 1: Make a Processing Etch-A-Sketch There are two parts to this exercise. The first one is to move the circle with the mouse(code has been commented in the processing code. The second part is to draw a constant line while moving the mouse. I asked Winnie for help to ensure the correct way to draw a constant line. I have learned that I need to make previousX = x and previousY =y, and remove the background color setting in the void draw() to avoid the background keep refreshing and covering the line I just drew. Arduino code: // IMA NYU Shanghai // Interaction Lab // For ...
Final Project: Proposal
A. Project Proposal 1 Title: Anti-labelling B. PROJECT STATEMENT OF PURPOSE Topic: Gender stereotype I often see gender stereotype not only in life but also online. It seems that males should be strong, brave, rational, and good at STEM, while females should be weak, shy, emotional, and take care of kids. In my opinion, these thoughts are ridiculous. We are all people, even though there may be some physiological differences between genders, it does not mean that all men and females are the same. Even though the concept of the opposition to gender stereotypes has risen ...
Recitation 7
Part 1: Grid Pattern For this part, we need to create a function and make it covers the entire screen. I chose the doughnut to be my pattern because I really miss its flavor during the quarantine. I first only use numbers to build the image; however, I later found out that I need to make use of variables like 'x' and 'y'. Therefore, I changed my code. int numberOfInstances = 100; void setup() { size(800, 800); } void draw() { background(#EDF2F5); for (int i = 0; i < 10; i++) { for (int j = 0; j < 10; ...
Final Project: Preparatory Research and Analysis
A. By introducing interactive projects and gradually experiencing new comprehension of interaction, Ernest Edmonds illustrated his definition and classification of interaction in the article “Art, Interaction and Engagement”. Before, I only know how to define degrees of Interactivity based on "The Art of Interactive Design" by Crawford. However, Edmonds inspires me to think more about different types of interactions. Apart from the approaches of interaction, "direct, facilitated, and ambient", there are four dynamic-interactive categories depending on how the projects give feedback. I think ...
Recitation 6
This recitation allows us to work individually to learn about using Processing to create animation. However, since I have no coding foundation before, I do not finish the goal. Instead, I combined the work I did in class with the assignment and designed an interactive poster for the IMA show. This is the first version of my code, which lacks interaction with the audience. I have learned how to use the frame code to create simple animations. int speed = 0; int stage=0; void setup() { size(1024, 768); frameRate(4); } void draw() ...