fe9lix / Tuio.js

TUIO Reference Implementation for JavaScript
GNU General Public License v2.0
95 stars 26 forks source link

TUIO2 support? #4

Open floe opened 9 years ago

floe commented 9 years ago

Just wondering if there are any plans for TUIO2 support?

fe9lix commented 9 years ago

...hm, maybe once there's an official reference implementation for Java/C++/C# && enough time left... ;)

floe commented 9 years ago

For the (beta) reference implementation, see here: https://github.com/mkalten/TUIO20_CPP It's still based on OSC and also has native WebSocket support by now. Maybe our upcoming project can work on this, what would be the best place to start for a client implementation? Simply based on TuioClient.js?

fe9lix commented 9 years ago

Sounds good! I just tried to stick to the Java version as close as possible while maintaining the structure and organisation of the original code. I guess the process would be quite similar for the C++ version, although there seem to be a few more classes to consider. Another idea would be to experiment with something like Emscripten (https://github.com/kripken/emscripten) and compile the C++ source via LLVM to JS? Might work if the C++ code doesn't do anything fancy (see the porting guidelines on http://kripken.github.io/emscripten-site/docs/porting/index.html).