Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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)