taichi.js
gpu.js
taichi.js | gpu.js | |
---|---|---|
3 | 9 | |
419 | 15,005 | |
- | 0.3% | |
6.2 | 0.0 | |
about 1 year ago | 4 months ago | |
TypeScript | JavaScript | |
- | MIT License |
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.
gpu.js
-
Deep Learning in JavaScript
You might already be familiar, but a GPU.js backend can provide some speedups via good old WebGL -- no need for WebGPU just yet!
[0]: https://github.com/gpujs/gpu.js/
-
Show HN: Shadeup – A language that makes WebGPU easier
Very cool project.
I learned WebGL three years ago but before I dove into the underlying concepts I used GPU.js [1] to quickly prototype my project. Eventually, the abstraction prevented necessary performance optimizations so I switched to vanilla GLSL and these vanilla GLSL "shaders" were initially ejected from GPU.js.
Writing JS code then looking at the generated WebGPU output is a great way to get familiar with WebGPU. Thanks for this.
[1] https://github.com/gpujs/gpu.js/
-
Gpu.js: GPU Accelerated JavaScript
I used this library on my project but I think it's no longer maintained. I PRed a fix for buggy atan2 over a year ago and no movement [1]. I do highly recommend it if you're a web developer interested in harnessing parallel processing.
[1] https://github.com/gpujs/gpu.js/pull/683
-
Brain.js: GPU Accelerated Neural Networks in JavaScript
Thanks for pointing this out. I've submitted a PR to resolve this: https://github.com/gpujs/gpu.js/issues/757
That being said, if you're not building from source (you're running an LTS version of node on a supported platform), you don't need to worry about python or many of the build deps.
- GPU.js
- For what projects, Nodejs is an absolute No No?
What are some alternatives?
2d-fluid-simulator - 2D incompressible fluid solver implemented in Taichi.
numjs - Like NumPy, in JavaScript
pyasflip - Python implementation of the ASFLIP advection method
headless-gl - 🎃 Windowless WebGL for node.js
examples - A set of examples around pytorch in Vision, Text, Reinforcement Learning, etc.
math-clamp - Clamp a number
taichi_elements - High-performance multi-material continuum physics engine in Taichi
aladino - 🧞♂️ Your magic WebGL carpet
taichimd - Interactive, GPU-accelerated Molecular Dynamics using the Taichi programming language
math-sum - Sum numbers
Brain.js - 🤖 GPU accelerated Neural networks in JavaScript for Browsers and Node.js
ndarray - 📈 Multidimensional arrays for JavaScript