TaiChi: Open-source computer graphics library
taichi.graphics
taichi.graphics
I really appreciate that somebody is implementing these papers in the open. It's incredibly useful to have a reference implementation available to study alongside the paper. Seeing the same thing in a few different ways is great for learning.
His 88-line implementation of MLS-MPM is probably a little too much like code-golf, but when I expanded it out to 188 lines, I found it really enlightening.
> Taichi is an open-source computer graphics library with implementations of 40+ graphics papers. It has a hybrid design: a C++14 kernel part, and a user-friendly Python 3 wrapper.
That's the extent of the information on that page.
You seem to be assuming that "library" must mean a layer or an API providing certain runtime abstractions or functionality. That's not really what this is. It's more about code reuse and a rationalized core of tools for implementing the various techniques.
You are clearly familiar with the latter. Perhaps take a couple of minutes to read through the linked project and answer the question here, for everyone's reference?
https://github.com/yuanming-hu/taichi
mods can you change it to the github link pls?
(It's not on the top level of the Github repo, so it's maybe not obvious where the examples are. At least I had to hunt a bit.)
I'd never considered how a banana would look like when cut, and I'm not certain how it should look but I'm certain that it's not like this.
The example is kind of ugly, but it's really only trying to illustrate one specific property of their simulation: that the knife can properly separate neighbouring particles from each other without any spooky interactions between the banana on one side of the knife and the banana on the other side.
[1]: https://youtu.be/8iyvhGF9f7o | https://dl.acm.org/citation.cfm?id=3201293