npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

epictuio

0.0.1 • Public • Published

epic-tuio

a simple udp osc parser that returns an event emitter

usage

var tuio = require('epictuio');

// creates an instance, returns an event emitter
var _tuio = new tuio({
    oscPort: 3333,			// default TUIO port
    oscHost: "127.0.0.1",		// your machine
    raw: false 				// not required
});

// example of a 2D cursor being sent via TUIO to this server
_tuio.on('2Dcur', function(msg){
  	console.log(msg);
})

Keywords

none

install

npm i epictuio

Downloadsweekly downloads

3

version

0.0.1

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability