Due 7 Mar 2017

Visualization

Use the additional JavaScript work we did in class to approach last week's homework again. Try and have a complete visualization to share with the class the next time we meet.

Example

I've put together a commented example that might be helpful. It uses data from flutrack.org to turn tweets about flu symptoms into a musical piece. I hacked the Oscillator Frequency example as a starting point. To use it, copy the empty p5.js example and replace sketch.js with the one I wrote. Uncomment the line in index.html that says

<script language="javascript" src="libraries/p5.sound.js"></script>

and you should be good to go.

OSC

If you manage to get the Visualization assignment done, try and get a head start on the next topic: OSC. Try and get two machines sending OSC messages to each other. If you can get a Hello World style sketch working, i.e. send "Hello World" from one machine and print it out on another, that would be a great start. You can run two apps on the same machine to simulate two machines, or work with a partner.

Because OSC is its own protocol and not the web, we rely entirely on a web browser to use it, so our usual p5.js set up will need to change a bit. Your options include: