Multi-device TUIO adapter over socket.io
npm install tuiohost
|1||downloads in the last week|
|2||downloads in the last month|
|Version||0.0.2 last updated 2 years ago|
|Dependencies||socket.io, jspack, underscore|
TuioHost is (yet another) implementation of TUIO designed to provide web applications with a socket.io access point for multitouch events.
The tuiohost server assumes the OSC messages can arrive from anywhere, and if there are senders from multiple IP addresses the cursor identifiers will be kept distinct to avoid cursor id collisions.
The typical installation will be on a desktop system with its own stream of TUIO events. In this most simple configuration it serves as a simple forklift to get TUIO events into a browser without requiring any kind of plugin. This has been tested successfully in Windows and Linux with numerous recent editions of popular web browsers (e.g. Chrome, Firefox, IE9, and Safari).
Credit is definitely due to the makers of node-osc. I am just getting started with node.js. The initial target platform for this app is Windows, and with the "node-waf" requirement within that package I failed to find a way to install it. To get by for now, I embedded some of their code within this application.
Coming soon. For a quick video of the package and its intended use please visit here.