Examples¶
Every example is a plain pygame script, the same file runs on the desktop and in the browser.
Run one locally with python examples/hello_triangle.py from the repository root.
Geometry and 3D¶
Simulations¶
2D and fullscreen effects¶
Geometries¶
Procedural textures¶
Rendering basics¶
Getting started¶
Tutorial¶
A step by step introduction, from a clear color to a lit, textured, postprocessed scene with a Pillow overlay.





























































