1 Reply Latest reply on Oct 29, 2014 12:26 PM by DiegoV_Intel

    GLFish / OculusFish

    baistander

      Background

      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.

       

      Inspired by the Brain Coral and WiFish

       

      Github repo

      InsideTheBlue/gl-fish · GitHub

       

      Classification

      Nodebot

       

      Instructions

      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

       

      Screen shots

      glss1.jpg

      glss2.jpg

      glss3.jpg

      glss4.jpg

      glss5.jpg

      glss7.jpg

      glss8.jpg