fastplotlib
graphics_wgpu
fastplotlib | graphics_wgpu | |
---|---|---|
2 | 1 | |
329 | 2 | |
5.2% | - | |
9.0 | 2.8 | |
13 days ago | 6 months ago | |
Python | Rust | |
Apache License 2.0 | - |
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.
fastplotlib
-
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
-
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.
graphics_wgpu
-
Extending Python with Rust
I made my own, using WGPU and this basic graphics engine: https://github.com/David-OConnor/graphics_wgpu
Note that there's currently no docs or template/examples, and I'm rapidly breaking the API.
The surface plots are just meshes of a grid divided into triangles.
So, not a plotting lib at all; a flexible 3d and UI lib. Could probably made usable by others with a basic example of how you interact with the render and UI.
What are some alternatives?
vswhere - Locate Visual Studio 2017 and newer installations
pygfx - A python render engine running on wgpu.
python-qubit-setup - All scripts for controlling the instruments and acquiring data in our qubit setup.
greptimedb - An open-source, cloud-native, distributed time-series database with PromQL/SQL/Python supported. Available on GreptimeCloud.
Numba - NumPy aware dynamic Python compiler using LLVM
silkenweb - A library for writing reactive single page web apps
julia - The Julia Programming Language
Carp - A statically typed lisp, without a GC, for real-time applications.