pygfx
wgpu-py
pygfx | wgpu-py | |
---|---|---|
3 | 5 | |
357 | 371 | |
2.6% | 2.7% | |
8.8 | 8.6 | |
3 days ago | 14 days ago | |
Python | Python | |
BSD 2-clause "Simplified" License | BSD 2-clause "Simplified" 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.
pygfx
-
Emerging Rust GUI libraries in a WASM world
https://github.com/kushalkolar/fastplotlib
Alternatively, try pygfx for ThreeJS graphics in Python leveraging wgpu. It works great in Notebooks through notebook-rfb. https://github.com/pygfx/pygfx
If you're adventurous, figure out how to make pygfx work with webgpu via wasm
-
Chrome Ships WebGPU
FYI you can already use webgpu directly in python, see https://github.com/pygfx/wgpu-py for webgpu wrappers and https://github.com/pygfx/pygfx for a more high level graphics library
-
Extending Python with Rust
Rather than using matplotlib, you could try either pygfx (https://github.com/pygfx/pygfx) or fastplotlib (https://github.com/kushalkolar/fastplotlib) to make higher performance graphics using Python.
However, it won't solve your problem of Python not being fast enough doing the calculations.
wgpu-py
- Pygfx/wgpu-py: Next generation GPU API for Python
-
I'm working on techno audio-visuals using Ableton & Javascript
If you've a Python background, I might suggest checking out something like https://github.com/pygfx/wgpu-py
-
Chrome Ships WebGPU
FYI you can already use webgpu directly in python, see https://github.com/pygfx/wgpu-py for webgpu wrappers and https://github.com/pygfx/pygfx for a more high level graphics library
-
I've just started mixing shaders with Pygame and got some great results
This reminds me of another Python GPU project, bringing in WebGPU shaders.
https://github.com/pygfx/wgpu-py
-
Unifying the CUDA Python Ecosystem
Somewhat related, I’ve built compute shaders using wgpu-py:
https://github.com/pygfx/wgpu-py
You can define any compute shader you like in Python, with the data types, and it compiles it to SPIRV and runs it.
What are some alternatives?
SHA256-WebGPU - Implementation of sha256 in WGSL
CudaPy - CudaPy is a runtime library that lets Python programmers access NVIDIA's CUDA parallel computation API.
numexpr - Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more
cudf - cuDF - GPU DataFrame Library
graphics_wgpu
vswhere - Locate Visual Studio 2017 and newer installations
grcuda - Polyglot CUDA integration for the GraalVM
fastplotlib - Next-gen fast plotting library running on WGPU using the pygfx rendering engine
web-stable-diffusion - Bringing stable diffusion models to web browsers. Everything runs inside the browser with no server support.
three.py - Python 3D library based on three.js and Modern OpenGL
copperhead - Data Parallel Python