A follow the wire challenge using LEAP Motion

Points are assigned based on the color you are on, with the most points gained for being on the black, fewer for the orange, and points are lost in the red. Using your pointer finger as a controller through the LEAP Motion, the code is designed to detect the color the circle is on. This is barely alpha; in future versions I would like to fine tune the color detector, make the image larger and more complex, and add movement and time requirements.

this code was started with help from Joe MacMahon, but was completely planned and finished by yours truly.

Built With

Share this project:


posted an update

Editors Wanted

Multiple people well versed in JavaScript have reviewed this code and have not been able to determine why an incorrect color is typically returned. If you look at this code and have any insight, please contact me.

Log in or sign up for Devpost to join the conversation.