.. image:: _static/pygfx.svg
   :class: frontpage-logo
   :alt: pygfx

.. raw:: html

    <h1 class="frontpage-header">Pygfx</h1>

The purpose of Pygfx is to bring powerful and reliable visualization to the Python world. 🚀

Pygfx (py-graphics) is built on `wgpu <https://github.com/pygfx/wgpu-py/>`_, 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.

.. raw:: html

   <p style="text-align: center">
      <img src="_static/readme_sponza.png" alt="drawing" width="200"/>
      <img src="_static/readme_pbr_example.webp" alt="drawing" width="200"/>
      <img src="_static/readme_torus_knot_wire.png" alt="drawing" width="200"/>
   </p>

Need help? We offer `professional support <https://pygfx.org/sponsor.html>`_.

Contents
--------

.. toctree::
   :maxdepth: 2

   Guide <guide.rst>
   Gallery <_gallery/index.rst>
   Reference <reference.rst>
   Advanced <advanced.rst>
   Github <https://github.com/pygfx/pygfx/>



Indices and tables
------------------

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
