I got a preview of the Brain Coral functionality and how it turns distance data into light patterns. After seeing that all of the programming was done in node.js, I decided to write a simple web server that allows you to see a virtual school of fish react to the distance data. If no one is around the fish calmly swim. If someone is detected the school of fish get excited and change color. If you get too close to the Brain Coral the fish will chase you away.
I used Three.js for the WebGL animation. Using an alternate renderer you can also view the fish using the Oculus Rift.
Download repo to a Brain Coral
> node server.js
Visit the IP address of your Brain Coral on port 1337, ex: http://10.15.0.10:1337
Oculus Fish (only tested with DK1)
To view on Oculus download and install possan/oculus-rest · GitHub
Run Oculus Rest
Visit the IP address of your Brain Coral on port 1337, ex: http://10.15.0.10:1337/oculus.html