you can already compile OF to run on the web if you are on osx or linux. you need to first install emscripten and then from your project folder in a console run
emmake make emmake run
and you’ll get your application running on the browser
you can find more details on the setup guides: http://openframeworks.cc/setup/emscripten/
I’m aware of transpiling through emscripten. My experience has been mixed though. Many OpenGL directives don’t seem to cater WebGL so well and if a single module doesn’t find a Web compatible API the entire program will refuse from playing. It’s just an idea, but seeing the growth Processing observed once it took off on the web with P5, seems like transition to JS pays off in the end.