Code Monkey home page Code Monkey logo

ofxleaptouch's Introduction

ofxLeapTouch

ofxLeapTouch is an openFrameworks addon to use the Leap Motion as a Touchless-Touch controller. After setting up a mid-air "touch" sensitive area near your screen, ofxLeapTouch interprets interactions in this field like a touch pad and sends basic openFrameworks touch events accordingly. Due to the use of these core events, combining it with touch reactive user interfaces should be straightforward.

Touchless-Touch is NOT the next step/level for interacting with systems (mainly because of the missing haptical feedback) but it has its advantages (like hover/subtle states) and ofxLeapTouch helps exploring ideas in this field more quickly.

Features

  • Setup for leap-to-screen mapping (touchless touch area)
  • Emits ofTouchEvents according to finger/hand interactions
  • Works with fingers and/or hands (check enum leapTouchMode)
  • Addional events to work with hover/subtle states
  • Distance to screen (z-Axis) is interpreted as touch pressure

Examples

example-basics

Small example with debug draw of fingers (red) or hands (blue). Depending on the leap Z position each finger/hand has the state subtle (grey), hovering (transparent) or pressed (non-transparent).

example-basics

example-leapToTuio

Using ofxLeapTouch in combination with ofxTuioWrapper to send Touchless-Touch interactions as TuioCursors. For testing you can use the tuioExample as a client as shown below. Only pressed fingers / hands are forwarded.

example-leapToTuio screenshot

example-touchlessTouch

Controlling ofxTangibleUI basic handles via Touchless-Touch. ofxTangibleHandle is listening to touch events by default - no direct connection needed.

example-touchlessTouch screenshot

Setup

  • ofxLeapTouch is built upon top of ofxLeapMotion. Please follow the install instructions there and run the basic example before you continue.

  • To get a copy of the repository you can download the source from http://github.com/ixds/ofxLeapTouch or, alternatively, you can clone git:

    git clone git://github.com/ixds/ofxLeapTouch.git

  • The addon should be located at openFrameworks/addons/ofxLeapTouch/.

Dependencies

ofxleaptouch's People

Contributors

fx-lange avatar

Watchers

James Cloos avatar Daniel Buzzo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.