Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tuio To Unity WebPlayer Demo via websockets (tuio.js)
JavaScript CSS
Branch: master
Failed to load latest commit information.
public cleanup app.js
.gitignore initial commit
package.json initial commit
server.js initial commit

Unity webplayer tuio integration demo

This demo illustrates passing tuio messages to unity's webplayer. The tuio messages are be handled by TouchScript on Unity's side.

This works by proxying the tuio messages over websockets. We use a node server and Tuio.js to accomplish this. This gets the Tuio messages on the browser's javascript engine. We then forward those messages to the player via Unity's SendMessage interface.

Server requirements



run the following command from the root of the project:

        npm install


run the following command from the root of the project

        node server.js

browse to http://localhost:5040/


  • server.js uses Express.js to serve the static content. This dependency could easily be removed.

  • The unity project can be found here.

  • This is a weekend project. Use with caution : )


MIT, read, hack, improve

Something went wrong with that request. Please try again.