Tuio.js icon indicating copy to clipboard operation
Tuio.js copied to clipboard

TUIO2 support?

Open floe opened this issue 9 years ago • 3 comments

Just wondering if there are any plans for TUIO2 support?

floe avatar Mar 31 '15 12:03 floe

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

fe9lix avatar Apr 02 '15 14:04 fe9lix

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?

floe avatar Apr 03 '15 07:04 floe

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).

fe9lix avatar Apr 04 '15 18:04 fe9lix