mac online apple blackjack http://www.euro-online.org

Digital Media Project: Experiment of code

QQ图片20140421015231

Experiment: Processing & Arduino
What I met the biggest problem during this period was the values of ‘translate’ and ‘random colour’. The image responded unclear version when I tested the code, and it could not rotate in the center of image itself but turning around the center of the screen. The problem of rotation has been solved by changing the translate X&Y number after several experiments. Besides, I set the float ‘x’ and ‘y’ instead of exact number in the code of each image in order to make the further experiment more effective.

Regarding the problem of random colour, I set the code named ‘.disableStyle();’ that was taught by allocated technical tutor of this project. This code is utilised to remove the original colour of the image and set new colour value in Processing.

Code of Images
void draw() {

background(255);
fill(0);
pushMatrix(); // save the current coordinate system to the stack
// translate to the center of screen
translate(width/2, height/2);
// rotate everything when the frameCount adds up
rotate(frameCount*0.01);

// small flower
if (sensorValue>300 && sensorValue<=400) {
fill(0, 180);
SVG09.disableStyle();
shape(SVG09, x+10, y+10, sensorValue+15, sensorValue+15);
SVG01.disableStyle();
shape(SVG01, x+10, y+10, sensorValue+15, sensorValue+15);
}

// bigger flower
else if (sensorValue>400 && sensorValue<=500) {
fill(0, 180);
SVG03.disableStyle();
shape(SVG03, x-20, y-20, sensorValue+20, sensorValue+20);
SVG04.disableStyle();
shape(SVG04, x-30, y-30, sensorValue+25, sensorValue+25);
}

// random colour
else if (sensorValue>500 && sensorValue<=700) {

//Audio triggered
minim = new Minim(this);
sou = minim.loadFile(“ESA_installation.wav”);
sou.play();
fill(random(0, 100), random(0, 100), random(0, 100), 80);
SVG05.disableStyle();
shape(SVG05, x-60, y-60, sensorValue+60, sensorValue+60);
fill(random(100, 200), random(100, 200), random(100, 200), 150);
SVG06.disableStyle();
shape(SVG06, x-50, y-50, sensorValue+35, sensorValue+35);
fill(random(200, 255), random(200, 255), random(200, 255), 50);
SVG08.disableStyle();
shape(SVG08, x-60, y-60, sensorValue+40, sensorValue+40);
}

// else if (sensorValue>700 && sensorValue<=800) {
// fill(random(0, 100), random(0, 100), random(0, 100), 100);
// }

else {
fill(255, 150);
SVG08.disableStyle();
shape(SVG08, x+30, y+30, sensorValue+300, sensorValue+300);
}

popMatrix(); // restores the prior coordinate system
}

The images below is the testing without colour variation after connected to Arduino. The shape will be changed based on the variation of sensorValue (according to capture the light intensity by photoresistor). This series of screenshoots is the version that before the problem of rotating around according to the center of one image has been solved, and it also showed another problem about the delay in responding in terms of rotation due to loading too many pictures in Processing.

Arduino Prototype

Experiment: Pure Data – Gem Patch
After almost finish to modify the code of image, I am still not satisfied with the effect in terms of either the dull outcome or the incomplete expression of concept. This problem of how to improve the project by technology annoyed me for nearly a week until I came across the book called Art of the digital age, and an installation digital artwork inspired me to continue to build it up, which will be introduced in the idea & inspiration account. In doing so, I references an embodied interaction tutorial on Youtube, and make some slightly change of values, including the shapes. The effect is shown as below, which is, it can capture the colour of object / surrounding by webcam.



Reference
morefun4art (2012) Available at: Youtube. Embodied Interaction – Puredata lesson016a [Accessed 20 April 2014].
Wands, B. (2006). Art of the digital age. New York: Thames & Hudson.

Live Electronic Performance: Noise sounds like telegram

telegram

Pure Data is pretty fun that is allowed to get a quick try with any possibility of linking and changing the value, which makes me feel less pressure and more motivation do the experiment of noise. This is the testing of how to make the noise with low/medium pitch – the outcome sounds like the combination of telegramming and whisper from data, which keeps me arising the further idea about improving the theme of duo performance, and it still needs to consult with mate next week.

Digital Media: Design the Interfaces for Alien(s)

IMG_20140317_180208

Left interface is for aliens who have no idea when they first travel to this planet called Earth. And the right one is human’s brain, which can help them to understand the creature who are interested in them on Earth.

Presumably they come here and need to do the research to help the beings in their planet and living condition. The simple interface which could be used by finger tap and flick to understand the information of either flora or fauna:

Green (the evolution of Flora): If aliens can tap each green block, it will zoom in and show the information of flora (Images of plants, such as shape, feature and cellula etc.) on Earth in different ages (from prehistory to this information era), including types, specific types in different area, required growth conditions, and the important events of each evolution. It doesn’t matter if they try them randomly to look the content, since they can capture the information of flora on this planet.
Yellow (the information of land): this interface need to use ‘flick’ from right to left according to the timeline of Earth. The elements of land will be shown, and which kind of elements as the main part accompanied with the evolution will be shown as well. It is important for them to understand the variation of flora and fauna’s condition according to the elements information of land, which helps them to do the further research of the variation of living condition of different planets.
Blue (the information of ocean): The temperature and ocean current of sea in different five oceans of the world can be known by tap 1 – 5 times. This interface helps them to capture the condition for the creature who are living in this age according to the variation of ocean’s temperature which is related directly to the climate, surface feature change and the next evolution of the creature on Earth.
Pink (the operation principle of human beings’ brain): Aliens can choose left and right pieces of interface to get a brief understand of how these complex groups of creature operate their brain and do the action by different areas of brain. If they need to get further information to understand completely, they have to pretend to become a human and experience different kinds of people in different area by themselves (yes…do the fieldwork!)…

Digital Media: Arduino Practice

IMG_20140310_120941

‘Photoresistor’ Practice:
This is the one that was made on DMS8012 session of changing Pd sound in real-time by photoresistor. Through what we’ve learned from this session, I was trying to add more patches of number value in order to capture more possibility of different noise frequency by moving hand onto phtoresistor. But the effect was not quite obvious, the noise merely changed pitches from high to low when I tried adding different number values in, which made me a little bit disappointed…
‘Servo motors’ Practice:
This practice is based on ‘Mood Cue’ which is from Arduino Projects Book. Basically, I would tend to try different components which was not go beyond what I was able to do the experiment and to understand the basic principle behind it, so that is the reason why I looked into this page and got a try – servo motors was working successfully after doing the step by step, and the angle of fan would be changed by changing the number code on Arduino.

Slides Arduino GPS Data Logging Session 070314

Download the PowerPoint Slides from the session here: Arduino gps2 060314 from Benjamin Freeth Images From The Session:  

DM8013: Proposal – New perception of energy conversions in daily life

The concept of this project is to make the possibility let users who can perceive the energy conversions (e.g. light energy to sound energy, solar energy to electricity etc.) in our daily life in an artistic way by interaction as well as to evoke participants to think about the commensal ecology behind the phenomena. In this project, users are able to experience this energy conversions by the process of photosynthesis of visual plants. More specifically, they can ‘foster’ visual flowers through triggering photoresistors by hands moving, and flowers will respond users by electronic sounds. In terms of electronic sounds, part of the inspiration comes from electromagnetic wave and capturing the electronic sounds from daily machine (e.g. Cash Point, Lighting and Lift etc.) by inductive microphone.

The concept of this project can be achievable with the technical skills that we have learned in the digital media sessions. More specifically, Processing, Pure Data and Arduino will be mainly used. For example, Processing will process blooming flowers which can be triggered synchronously by hand moving onto the phtoresistors. In the previous sessions of Processing, we have learned ’random’ and ’color’ value that can be used in this project in terms of this image part. Regarding the sound part, Puduino can process this part which has be taught the basic related skills in Live Electronic Performance session. More specifically, the effect of variation is that each flower matches one photoresistor, and image of flowers and electronic sounds can be triggered by photoresistors.

For the reference of recording practice, Toshiya Tsunoda and Haco who are Japanese artists used inductive microphones to capture the electromagnetic sounds from metro in the project called The Tram Vibration Project (2006). Besides, Benjamin Gaulon’s project called L.S.D also provides the possibility of how to transfer light to sound that encourages people to perceive daily environment in a new way.

There will be the risk of programming during the project development, that is, the effect of flowers growth programming. For this risk, it can be solved by doing the experiment of changing the related open code from Processing public source and by asking phD students who have more related experience for the further improvement of programming.

To sum up, this project will encourage users to perceive another way of conversions light and sound energy which exists and is used in our everyday life, and to experience the photosynthesis of plants by themselves. Furthermore, this project also tend to evoke users to think the commensalism and the philosophical question of ontology during the interaction.

Notes
1. Electromagnetic radiation with a wavelength between approximately 400 nm and 700 nm is directly detected by the human eye and perceived as visible light. (Starr 2005)
2. Electromagnetic waves occur naturally, they exist, they are everywhere, constantly passing  through our bodies, yet with our natural senses we can only perceive heat and light. (Rhei 2006, p. 15)

Reference
Demers, J. (2010). Listening through the noise: The aesthetics of experimental electronic music. New York : Oxford University Press.
Gaulon, B. (2012)  L.S.D. Available at: http://www.recyclism.com/lsd_sonicgraffiti.php/ [Accessed at 23th March, 2014].
Starr, C. (2005). Biology: Concepts and Applications. Wadsworth Publishing Co Inc.Tsunoda, T and Haco (2006). The Tram Vibration Project. Available at: http://vimeo.com/70418685/ [accessed by 5 March, 2014].
Wave Interference – Short Questions With Answer. Available at: http://www.myhsebnotes.com/2013/09/interference-of-wave-short-questions-with-answer.html/ [accessed by 5 March, 2014].
Rhei, P. (2006) Waves. RIXC.