-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
feature requestSuggest an idea on this projectSuggest an idea on this projectstalestale issues and PRsstale issues and PRswelcome contribution
Description
Is your feature request related to a problem? Please describe.
Allowing Taichi to generate JavaScript code will enable many more people to play with state-of-the-art computer graphics in their browsers.
Describe the solution you'd like
More investigation is needed. Emscripten or WASM seem good ways to go.
The kernel code will still be written in Python, yet a ti.export
function will be added to dump a kernel into compiled JavaScript. Then users can load these js and run it in HTML5.
The JavaScript backend does not have to support full Taichi functionality. For example, we can omit some sparse data structure support.
Discussions on/contributions to this are warmly welcome! :-)
Metadata
Metadata
Labels
feature requestSuggest an idea on this projectSuggest an idea on this projectstalestale issues and PRsstale issues and PRswelcome contribution