progress of the mentioned prototype with suport for different wegl libs can be found here:

I have just made another step forward: mesh support (but with some quirks ATM)
I have some lighting to fix, and also babylonjs for some weird rason uses left handed system (this adds a bit of complexity to the worker to support it properly)

Also when switching viewers, if they are different orioentation currently I need to run the script again manually to get properly oriented triangles