Showing posts with label Mikael CS6042. Show all posts
Showing posts with label Mikael CS6042. Show all posts

Thursday, 23 May 2013

Flash


For my flash project, I wanted to create another prototype/ animation for my final project using the panda character again.  I drew all the images and fonts then scanned them, photoshopped them, then imported them to flash.  I created an avoiding game, where it is raining skulls and the panda has to avoid them or he will die.  The skulls are set at different speeds and get faster each time they leave the screen.  If the panda gets hit he will die.  I also downloaded a screaming sound from "freesounds.org" that will play when the panda is hit.
To play the game check out my website!







Here is the code for scene 1 And the code for scene 2 "Dead Panda"

Wednesday, 22 May 2013

Arduino Project


Mario Arduino from Eva Daly on Vimeo.
For this project I used super bright LEDs which would play in sync to the Mario theme which I downloaded from the Arduino website, the theme is being played through a piezo speaker. I assigned each LED 2 notes, so anytime the note in the melody played the LED would flash. I then used the potentiometer to control the tempo. Here is my code.

Sunday, 19 May 2013

Arduino hacking in the dark!

Nearly finished my Arduino project, just wanted to upload a quick video of where I'm at now.  I've assigned the LEDs two notes each so they will light up when the are is played.  The music is being played through a piezo speaker. Next step is to make it interactive, and make it a little more aesthetically pleasing!

Mario Theme on Arduino


Mario Theme on Arduino with LEDs from Eva Daly on Vimeo.

Wednesday, 15 May 2013

PANDA DANCE!! Processing and Pure Data


PANDA DANCE! from Eva Daly on Vimeo.



I created my visuals through Processing. I scaled the data between 1-0 which ment if I wanted the colour of the ellipses to change, It would be multiplied 255.  Processing then recieved messages from pure data.
I drew ellipses into processing that would change position, with different frequency that were being sent from pure data.  I also assigned different coloured backgrounds to the different frequency.  I then imported images I had drawn, scanned, then photoshoped.  Different images would also appear at different frequency to make it appear as if the panda was dancing in time with the music. 

Pure Data






                    Above are the different frequencies being sent form Pure Data to Processing.

Music Loaded in Pure Data "Put on your dancing shoes" by Arctic Monkeys.

Here is the code for Processing.



Friday, 22 March 2013

Arduino Hacking!!


Today was our last class of Arduino hacking!  Monday and Friday mornings with Mikeal can be stressful and terrifying trying to keep up but always very rewarding when those lil LED's start flicker!
We really have learnt a lot in just a few weeks.  Programs we learnt to use were Fritzing, which is an open source software that allows us, the designer, to create a virtual prototype of what we are going to do with our arduinos, where we place our LEDs, resistors etc. 
We've been using fritzings schematic view which allows to look at and design the Arduinos electrical circuit;


Fritzing also has a breadboard view which allows us to look at and interperet the physical layout of what we plan to do with our Arduinos;


Once we have figured out what the physical layout of arduinos and breadboards should look like, and all our elements are placed correctly,  we then move on to coding, this where the magic happens!! (ya I said it,  I'm officially a nerd now)  Coding software is available on the Arduino website, and is very similar to the language used in Processing. This is where we instruct the function of all the elements attached to our arduino and control how they behave.


But wait there's more! We also added an element of Pure Data, which is an Open Source software similar to Max Msp.  It is a visual programming language used for creating interactive computer music and sound, and multimedia.  


Some of the areas we covered were;
Pulse Modulation; This allowed us to control the sequence and speed in witch the LEDs flickered.
Sensor Light Readings; To do this we used a small sensor that was able to take readings of the intensity of light in it's environment for example when the sensors light was blocked the number was lower, and when it was exposed to intense light it was higher, my readings ranged from 300 - 700.
Using the sensor we also implemented code so when the readings from the sensor were low ie if the light to the sensor was being blocked the LEDs would be brighter and if the light in the environment was stronger the LED would be dimmer.
Rotary Potentiometer; Using an RP we were able to change the direction and speed of the LEDs
Piezo Speaker; After adding elements of code the PS played musical notes in sequence with the LED's.  Later we combined the speaker and the sensor and made our very own Theremins! This was  definitely the most fun element,  there isn't a more beautiful sound than a classroom chorus of homemade theremins...ahem.