A powerful and reliable render engine for Python
Pygfx (py-graphics) is built on WebGPU, enabling superior performance and reliability compared to OpenGL-based solutions. It is designed for simplicity and versatility: with its modular architecture, you can effortlessly assemble graphical scenes for diverse applications, from scientific visualization to video game rendering.
News
04-10-2024
Released wgpu-py v0.19.025-09-2024
Released pygfx v0.5.0
Getting started
Pygfx runs almost anywhere, you don't need a fancy GPU.
- Install with
pip install pygfx glfw
. - Check out the guide.
- Have a look at the examples in the gallery.
Projects
The following projects fall under the pygfx.org umbrella:
We also help maintain the following projects:
wgpu-native
Provides a C-API for WebGPU by implementing webgpu.h. Wrapped by wgpu-py.jupyter_rfb
A remote frame-buffer for Jupyter. Enables Jupyter support in RenderCanvas. Mission
We are dedicated to bring powerful and reliable visualization to the Python world. We believe that WebGPU is the future for graphics and bring it to Python with the wgpu-py library. On top of that, we build Pygfx: a modern, versatile, and Pythonic rendering engine.
Pygfx provides a basis on top of which a multitude of visualizations become possible. From applications to libraries, from games to plotting. Pygfx is expressive in what you can do with it, but does not try hard to reduce the number of code-lines. We deliberately leave higher-level (domain specific) API's to downstream libraries.
Ecosystem
The following notable projects build on top of Pygfx or wgpu-py:
Shadertoy
Shadertoy implementation based on wgpu-py Current sponsors
Pygfx is open source and free to use. To develop these projects we rely on funding from our sponsors. The more groups contribute, the more time we can spend on moving these projects forwards. Learn more ...