taichi.js
2d-fluid-simulator
taichi.js | 2d-fluid-simulator | |
---|---|---|
3 | 2 | |
419 | 91 | |
- | - | |
6.2 | 4.6 | |
almost 1 year ago | 11 days ago | |
TypeScript | Python | |
- | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
taichi.js
-
Deep Learning in JavaScript
FWIW also taichi is quite popular in python and seems has some javascript related implementation (I haven't used it though), taichi.js [0]
[0] https://github.com/AmesingFlank/taichi.js
-
How does Taichi differ from PyTorch? They are different in every sense!
The independent compilation and execution leaves Taichi with more possibilities. Though embedded in Python, Taichi is not Python-specific. In fact, our community developer AmesingFlank is working on a Javascript frontend. You can check out some cool preliminary demos in the taichi.js github repo.
-
From molecular simulation to black hole rendering - Taichi-Lang makes life easier for digital content creators
Taichi.js is a powerful project that adds a JS frontend to Taichi and compiles Taichi to WASM with Emscripten, allowing users to transform Javascript functions into WebGPU compute shaders for massive parallelization. If your browser supports WebGPU, you can try it out on Playground | taichi.js.
2d-fluid-simulator
-
From molecular simulation to black hole rendering - Taichi-Lang makes life easier for digital content creators
Another beautiful project I want to share with you here is 2d-fluid-simulator contributed by a user from Japan, takah29, based on the finite difference method:
-
What would be the best library to build 2D simulations in python?
I find it very useful for physical simulation and visualization. And personally I was impressed by a 2D fluid simulation project https://github.com/takah29/2d-fluid-simulator enabled by Taichi (Hope it can give you some inspiration as well). If you encounter any problems during implementation, you can consult its doc site (https://docs.taichi-lang.org/docs/) or even ask its creator u/yuanming-hu directly
What are some alternatives?
pyasflip - Python implementation of the ASFLIP advection method
taichi_elements - High-performance multi-material continuum physics engine in Taichi
examples - A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
LBM_Taichi - Fluid solver based on Lattice Boltzmann method implemented by taichi programming language
difftaichi - 10 differentiable physical simulators built with Taichi differentiable programming (DiffTaichi, ICLR 2020)
taichimd - Interactive, GPU-accelerated Molecular Dynamics using the Taichi programming language
BlenderPythonRenderer - A Python GPU renderer for Blender using the Taichi package
taichi - Productive, portable, and performant GPU programming in Python.
Cameray - A lens editor and simulator for fun.
ray-tracing-one-weekend-taichi - A fast python implementation of Ray Tracing in One Weekend using python and Taichi