Category Archives: 21-ofxaddons

Alex Sciuto

08 Feb 2015

iacd-ofx

One sentence summary: This app generates a simple physics simulation, then processes it into a black and white dithered movie. Cool part: retro-looking physics. Uncool part: low frame rate.

As I was going through the ofxaddons, I saw an addon that takes an image file and returns a dithered version of it. The addon includes a few different dithering algorithms. I was intrigued by the aesthetic quality of the dithered images, and I wanted to see what the addon would do with motion content.

I originally connected the addon to the video camera on my computer, and I toyed with connecting the dithering to some kind of openCV processing, but ofxOpenCV is an included addon. I found an addon that wrapped Box2d with openFrameworks. So I thought I’d create a basic physics simulation, then dither it.

Setting up box2d was simple using the openFrameworks project generator. The dithering didn’t work with the generator so I played with the files and finally got the two projects running in the same app. The final piece was figuring out how to get the dithering to apply to the physics simulation. I used openFrameworks buffers to store an image of the simulation, then processed the buffer and drew the dithered image.

Click on the image below to see a full-resolution screenshot:

hires

Github Link: https://github.com/SciutoAlex/iacd-ofxaddons

chen

07 Feb 2015

I chose two ofxAddons: ofxAudioUnit and ofxParticleEmitter, because it’s always a great idea for me to make audio interaction applications.

The reason to choose particle emitter, is that I have seen many great works simulating the motions of particles and I thought it might be good to try this. And as many of you may have known, ofxAudioUnit is a widely used addon which makes Audio Units easy to work on OS X and iOS. It is a wise choice for me to use ofxAudioUnit — it has many examples, really detailed comments, and less bugs.

I made an attempt to use these two addons, created ParameterChanger combining the examples from these two addons. As the mouse moves, the parameters of music will change, more specifically, the x axis will affect the playback rate, and the y axis will affect the cutoff frequency. Furthermore, position of particle will also be affected by mouse position.

oie_84348D0slX8TO

Here is the video:

———————————————————-

After the initial attempt, I try to use environment sound to interact with particle emitter.

屏幕快照 2015-02-07 下午10.02.06

The amplitude can randomly change the position of the particle.

 

Here are the github repos: ParameterChanger and AmplitudeTrigger.

dantasse

06 Feb 2015

Smile at your webcam, and it will draw you a tree. The longer you smile, the fuller your tree will be.

Screen Shot 2015-02-06 at 6.17.03 PM

Why? It’s a simple hack to put a couple of ofx addons together, and I think it’s kind of interesting to control your computer with facial expressions. Okay, there’s the dystopian-future-world where you have to smile all the time, sure, terrible. But also, what if, instead of shifting modes in Vim with goofy keystrokes, what if I could just smile instead? What if it were like a piano pedal, giving you extra ways to input stuff?

Plus, programmatically generated trees are cool.

Video of it in action:

Code: on github. Uses ofxCv and ofxProcTree.