Interactive art week 9 Homework: Rainman


Next week concept. Rainman

After brainstorming for a bit and thinking of different previous projects we had worked on and material we had learned in class we decided on a project for next week. We want to make a code using a button and a pressure sensor, the concept is the following:

We will show a man standing in the processing window and if a button is pressed, we want to make it rain which makes the man angry. However, it is possible to make the man happy again, we will do this by using the pressure sensor. We want to buy a small cocktail umbrella and some weights and put this on the cocktail umbrella, then place it on the pressure sensor. If the umbrella is on the sensor the man will be in the rain, but if you lift up the umbrella the man will also lift his umbrella in the processing window and protect himself from the rain, thus making him happy again. Below are some example images:







How to code this:

We will make the code for making it rain in processing and use the above drawn images as a back ground. The code will be very self-explanatory. The starting point is the man with neutral expression and no rain, if the button is pressed once rain will fall and the image of the angry man shows, if the umbrella is lifted off of the pressure sensor the man will hold up his umbrella and rain will only fall down the sides of the processing window. If the button is pressed again rain will stop falling and the man will be back to his neutral state. These interactions can be used in any order interchangeably
We will use a very basic circuit for this code as we only utilize 2 inputs.




Comments