Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Vineyo/Taichi-cursor-activating-snodes-demo
A demo of using cursor to activate snodes.
https://github.com/Vineyo/Taichi-cursor-activating-snodes-demo
Last synced: 4 days ago
JSON representation
A demo of using cursor to activate snodes.
- Host: GitHub
- URL: https://github.com/Vineyo/Taichi-cursor-activating-snodes-demo
- Owner: Vineyo
- License: mit
- Created: 2021-10-15T09:50:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-15T14:43:27.000Z (about 3 years ago)
- Last Synced: 2024-08-02T11:23:50.261Z (3 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-taichi - Taichi-cursor-activating-snodes-demo - A visual demo of Snodes' activation. (Applications / **Simulation**)
README
# 用鼠标激活稀疏节点
这个demo其实是为了让之前的[墨戏引擎](https://github.com/Vineyo/Taichi-Moxi)可以支持稀疏计算做的小测试,代码中有一些奇怪的写法也是为了在结构上和墨戏引擎一致。代码主体是参考[太极稀疏计算的样例](https://github.com/taichi-dev/taichi/blob/master/examples/features/sparse/taichi_sparse.py)## 使用方法
直接运行main.py,鼠标左击激活所在的节点。## 结果展示
![image](https://user-images.githubusercontent.com/41120222/137504073-f4f18697-314c-4648-bcb9-6f6cc2341cb4.png)