Advent Week I 2015

Technically this isn’t the first week of advent so shut up. This first song is cover of a very popular song that we’ve all heard a thousand times. The video isn’t particularly interesting, neither is the singer. But I wanted to point out that she’s using a pencil and rubber band for a capo. You know the struggle is real when you DIY capo. This is what is so Christmasy about this video. She may not have everything but she is generous with what she has. I have capos for days but do I sing nice songs for other people? no. So give her a view or two maybe she’ll have enough to buy a capo.

Processing Sketch: Nature of Code and Vectors

Processing_1-26I’ve been going over the the nature of code. This sketch is based on the first chapter about vectors. Instead of having the mouse be the target like the original sketch I made a simple if statement that gives random values to the target vector based on the frame count. I used a modulo to make the if statement true every 80 frames. if ( (frameCount % 80) == 0){ target.x = random(20,width - 20); target.y = random(20, height-20); This book does a great job at explaining the math involved. It takes the time to explain what vectors are and how they apply to the processing language. Searching for cool libraries and knowing how to apply them to a cool looking sketch is great but it’s rewarding to know why the little ball thing is moving the way it does.

Processing Sketch: the 4 is Sus

My first processing sketch that involves audio. Hovering over each bar changes the frequency on a sine oscillator. The frequencies of the 8 bars are tuned to a C phrygian scale thing. Playing over a Csus4 drone thing. The color or the bars are generated randomly and change temperature depending on where the mouse is on the screen. The amplitude of the oscillators is also tied to the Y axis.