pygfx
three.py
pygfx | three.py | |
---|---|---|
3 | 1 | |
357 | 4 | |
2.6% | - | |
8.8 | 4.9 | |
3 days ago | about 1 year ago | |
Python | Python | |
BSD 2-clause "Simplified" License | 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.
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.
three.py
What are some alternatives?
SHA256-WebGPU - Implementation of sha256 in WGSL
pyntcloud - pyntcloud is a Python library for working with 3D point clouds.
numexpr - Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more
vedo - A python module for scientific analysis of 3D data based on VTK and Numpy
graphics_wgpu
pyrender - Easy-to-use glTF 2.0-compliant OpenGL renderer for visualization of 3D scenes.
vswhere - Locate Visual Studio 2017 and newer installations
Pycraft - Pycraft is the OpenGL, open world, video game made with Python.
fastplotlib - Next-gen fast plotting library running on WGPU using the pygfx rendering engine
PyNBoids - This is a Boids Simulation, written in Python with Pygame.
egui - egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native
BlenderProc - A procedural Blender pipeline for photorealistic training image generation