Context

Let’s create a Standalone Context for now. It will help us write less code. Later you can reuse this code to render directly to a window.

1
2
3
import moderngl

ctx = moderngl.create_standalone_context()

Proceed to the next step.