"We know what we are but we know not what we may be."

Fish flocking with Kinect


For a subject called Programming with Structures I made a C++ visualization that shows fish and sharks in a fish tank, that respond on your hands, when they come close to the screen.

Also, the small fish try to avoid the big fish. Meanwhile, these big fish try to hunt the small fish by going to the middle of the flock.

The program was made using the C++ Kinect libraries and OpenFrameworks. I will add the download links for the source code later. Meanwhile, you can check out the video, which only features the flocking simulation, but not the Kinect interaction.