Running In-Browser

So basically I need to make a game in Panda3D for a Code Jam, and according to rules it should be runnable in the browser. Is there a tutorial on how to do this or whether it even is possible?

Also I only have 4 days for submission so I would love a quick answer.

So basically I use this?

https://rdb.name/panda3d-webgl/editor.html

but how do I publish the code?

@panda3dmastercoder are you interested for a unofficial release of pygbag supporting Panda3D ?

( note that rdb’s extra modules for handling emscripten and browser are already in standard loader )

also compilation with mypyc of python code to webassembly can be done.