Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

能在网页里使用太极吗 (Can Taichi be used on webpages) ? #4102

Closed
gzll opened this issue Jan 24, 2022 · 3 comments
Closed

能在网页里使用太极吗 (Can Taichi be used on webpages) ? #4102

gzll opened this issue Jan 24, 2022 · 3 comments
Labels
question Question on using Taichi

Comments

@gzll
Copy link

gzll commented Jan 24, 2022

看到有太极ZOO,希望能在网站里使用太极生成3D图形,也试图网上搜寻关于太极WASM的资料,但是没有找到什么。
有哪位大神使用太极做过网页,放些资料哈,谢谢了。

@gzll gzll added the question Question on using Taichi label Jan 24, 2022
@AmesingFlank
Copy link
Collaborator

AmesingFlank commented Jan 24, 2022

关于生成WASM kernel,可以看Taichi AOT API Docs

同时纯Javascript版太极正在开发中:#3781,敬请期待嘻嘻 (chrome样例链接

@k-ye k-ye changed the title 能在网页里使用太极吗? 能在网页里使用太极吗 (Can Taichi be used on webpages) ? Jan 25, 2022
@k-ye
Copy link
Member

k-ye commented Jan 25, 2022

BTW, 你可以在创建 Taichi AOT module 时指定 webassembly backend (ti.wasm),这样就会生成一系列 webassembly kernels, i.e.,

m = ti.aot.Module(ti.wasm)
m.add_kernel(fn)
m.save(...)

@ailzhang
Copy link
Contributor

ailzhang commented Mar 3, 2022

Closing via #4102 (comment), please feel free to reopen if you have other questions!

@ailzhang ailzhang closed this as completed Mar 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question on using Taichi
Projects
None yet
Development

No branches or pull requests

4 participants