Over the weekend, while researching ways to combine cocoa and openframeworks I stumbled upon this sweet simple code to grab the pixels below an openframeworks app. Thinking of what to do, I dusted off my old ofxHalftoner* to dither the content of the screen and to my surprise everything worked reasonably fast in real time.
Here are some results:
I also recorded some video. The quality of the dithering is poor due to the video compression, but you get the idea.
Back in january I spent some time exploring simple electronic circuits for sound, following the lovely handmade electronic music. One of the greatest discoveries was voltage starving, which gave a great degree of unpredictability to any circuit.
I recorded some explorations. I find it interesting to imagine what is happening inside the circuit to make the sound vary so wildly, as I was just slowly turning up and down a couple of knobs.
This has been relatively straightforward, but, as with the actionscript to java conversion, I’ve run into some nuances between languages and I’ve definitely learned the hard way (read “wasting some hours of my life”) why pre and post increment operators can be evil.
For usage, you can have a look at the openFrameworks app provided. If you want to have a quick glance at the types of movement, see the easing applet (p5 version).
Being this a programming exercise, it will have improvable things for sure. I’m thinking of some, but if you know anything, please let me know.
Being an actionscript head, I’ve frequently used rober penner’s easing equations in processing*. To avoid copy/paste each time I’ve packed them as a processing library.
While I was at it, I discovered a couple of implementations (1, 2), but I was almost done, and wanted to learn how to make processing libraries anyway.