I have realized that I haven´t done anything with openframeworks for ages. Which is kind of sad because I really like the framework. So I took my PI and installed openframeworks using this instruction from the openframeWorks-RaspberryPI fork on github
Compiling openFrameworks on a PI took a while but after it finished I was able to compile and run my boid sketch without modifications.
Here is a photo of my pi running the swarm demo
We had a Panda, a Sheep and a Rabbit. We tagged the animals with a barcode and for every animal we handed out we added one to the virtual playground on our multitouch table. Our visitors could search their animals using a barcode scanner. When a barcode was scanned the image was centered around the animal and it was paused for some seconds.
The swarm simulation is a processing app that uses the same alghorithm as a openframeworks demo app I wrote a year ago.read more ...