Pino-Coreano / touch-leap-motion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TOUCH with Leap Motion

Live demo | Video

It is a WebGL demo using Leap Motion and signed distance field to simulate the physics.

The technique behind this demo is very simple. It uses signed distance field to do the collision test on the hand. Basically the whole hand is constructed by the primitive - spheres, cylinders and a hexagonal Prism. You can find all of the distance field functions here by Íñgo Quílez.

This demo uses the WebGL framework - ThreeJS and post-processing helper tool - Wagner forked by Superguigui originally by thespite

The prototype folder boilderplate was cloned from codevember by Mattdesl

Hand test on ShaderToy

Development and deployment

  • dev: node dev
  • deploy: node build

License

This experiment is under MIT License.

About

License:MIT License


Languages

Language:JavaScript 90.9%Language:GLSL 7.5%Language:HTML 1.1%Language:CSS 0.5%Language:Shell 0.0%