How to run panda3d in browser

How to run panda3d in browser. Can I use anything like flask or Django to render panda3d in browser as a website. Please explain.

When you are talking about flask or Django, I take it you mean using Panda3D on the server-side, and sending the resulting images to the client? If so, check out the recent threads on the forums for “headless” rendering with “EGL”.

Well I thought of a way to embed the panda3d window in browser and want to use all its functionality. Can I do so?

It is possible, but it is experimental, and requires you to build Panda3D from source code, and requires a bit of expertise with C code. See:

We aim to make this process easier in the future.