Cool. I think I'm going to take Babylon.js, which is already in TypeScript, and start by porting a minimal set of features over in order to get cubes rendering on screen as a PoC.
Mostly I think it'll be converting numbers to i* types, and editing the renderer so that is connects with the JS glue to a canvas.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I fear how much time the rabbit hole will take to explore, but if the results are worth it...
I'm guessing having a scene graph 🌲 structure (thinking something like Three.js) and doing all the matrix updates in Wasm would show some gain.
Then on the JS side it would need to get the list of objects/commands to render from wasm, which could be in a typed array in some format.
If you decide to venture, I'll join you on your quest! Good luck.
Cool. I think I'm going to take Babylon.js, which is already in TypeScript, and start by porting a minimal set of features over in order to get cubes rendering on screen as a PoC.
Mostly I think it'll be converting numbers to i* types, and editing the renderer so that is connects with the JS glue to a canvas.