Ronin experiment 17 - boids
I have written several implementation of craig rainolds boids in languages like processing or openframeworks, so I had to give it a try in ronin as well. Especially since the original implementation was done in common lisp :-)
running openframeworks on a RaspberryPI
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.
very nice!
Here is a photo of my pi running the swarm demo
OpenFrameworks boid demo
I made a small boids demo in openframeworks. It is more or less a port of the boids demo i made in processing a while ago.
It's bin a while since i wrote c++ the last time, so i'm pretty sure i have forgotten to free some memory or have done something very unc++y :-)