Saturday 24 August 2013

Simple Nodes with openFrameworks

I made a small, simple node system in openFrameworks today.
Its essentially just an array of ofNode objects, with lines in between them, randomly placed on screen.
Next I'll try creating my own node class, and add some animation.

EDIT:
I finished animating it. Unfortunately the openFrameworks ofNode class doesnt have an inbuilt velocity or acceleration. So I built my own in by making 3 arrays the same size as the number of nodes, filling the arrays with random values between -0.1 and 0.1 and then ofNode.move(); ing them using those values.
Not the most elegant solution, but hey... It works.
Next I think I will Perlin the shit out of their movement.


First video of animation

Second video of animation

Updates

Working with Processing for Uni, mainly creating my hybrid work, however I also have been practicing trying to create really really short programs really quickly. For storytelling I am still constructing ideas and how/what to do. For my personal work at the moment I've decided to ditch Cinder and begin working in openFrameworks because it has a gigantic community and seems to be more supported. Either way they are both C++ so it should be fine.

Hybrid Work
Working with the twitter4j library in processing along with a 3D simple gravity system to produce a data visualisation of hashtags. It can talk to arduinos as well, through Serial.write(). Still in progress and not polished however its moving along quite rapidly. Heres some of the preliminary photos of it.











Really Really Short Programs
I got bored and wrote a program in 5 minutes.
I call it 256 Shades of Grey.













openFrameworks
I have been playing around with computer vision and I've been trying to get the addon for face and expression detection working (unsuccessfully).
I did manage to get the openCv addon working (with the help of a couple of the examples).
Next step is controlling an arduino, or outputting sound.