Examples that use pygfx
Introductory Examples
Use gfx.show
Hello World
Render a Triangle
Rendering Points
Boundary Boxes
Lights
Hello text
Offscreen Rendering
Clipping Planes
Orbit Camera
Feature Demos
Subdivision
Use gfx.show to show a Scene
Geometry Image
Show STL File via gfx.show
Show Image
Line Drawing Performance
Line Segments
Rotating Polyhedra
Flat Shading
Geometry Cubes
Image with Points Overlaid
Torus knot
Wireframe 1
Klein Bottle Geometry
Volume Slice 1
Thick Lines
Geometry Plane
Point Picking
Text contrast
Wireframe 2
Gizmo to transform world objects
Gizmo to transform world objects
Bounding Box Coordinates
Volume Slice 2
Volume Slice 4
Volume Slice 3
Physical Color
Transform Control without Matrix Updating
Transform Control without Matrix Updating
Synced Video Rendering
Line Drawing
Instancing
Color Picking
Volume Rendering 2
Transparency 1
Scene Overlay
Mesh Slice Material
Directional Shadow 1
Sphere Geometry
Panzoom Camera
Volume Rendering 1
Colormap Channels
Subplots 1
Use a Skybox
Text snake
Nested Scenes
Transparency 2
PBR Rendering 1
Types of Cylinders
Mesh Picking
Mesh and Volume Slicing 2
Directional Shadow 2
Volume and Mesh Slicing 1
Image Click Events
Dynamic Environment Map
Colormap Image
Minimal Custom Object
Text waterfall
Subplots Video
Subplots 2
PBR Rendering 2
Colormap Mesh
Multi-Object Selection
Depth Material
Simple Custom Object
Spotlights
Spotlight Shadow
Wireframe Material
Custom Object
Validation Examples
Axes Helper 1
Box Geometry
Simple Colormap
Image Material
Axis Helper 2
Normals on front and back
Image on Plane Geometry 1
Reference Color
Text anchor
Depth Clipping
Light and Shadow
Volume and Volume Slice Rendering
Volume and Volume Slice Rendering
NDC Coordinates
Text size
Mesh Colormaps
Culling
Other Examples
Note
The examples in this section are not rendered. Typically because they use a backend that is not available on the CI runner.
Simple Cube with WX
Simple Cube with Qt
Integrate pygfx in Qt
Two Canvases
Fullscreen Postprocessing 2
Peformance of drawing many Lines
Peformance of drawing many Lines
Sponza Scene
Full-Screen Post Processing 1
Render Text with Qt
Light Effects