4 ms·
I assume the plugin is just running Tcl/Tk inside a browser window. I wonder how hard it would be to recreate the same idea using Emscripten drawing to a HTML
by skissane 6y ago
I assume the plugin is just running Tcl/Tk inside a browser window.
I wonder how hard it would be to recreate the same idea using Emscripten drawing to a HTML canvas?
People have gotten Tcl to work on Emscripten [0]. I think the big problem is the Tk part. Tk has X11, Win32 and macOS backends, but emscripten supports SDL, for which there is no Tk backend.
[0] https://github.com/aidanhs/emtcl https://github.com/aidanhs/emtcl
- swiley 6y agoThere is an SDL backend for Tk but it's not part of the normal distribution: http://androwish.org/home/home http://androwish.org/home/home
- blacksqr 6y agoThe Projected Tk project aims to recreate Tk with a pluggable backend structure, with a web browser backend one goal. https://chiselapp.com/user/gwlester/repository/PTK/home https://chiselapp.com/user/gwlester/repository/PTK/home