moderngl/moderngl
Modern OpenGL binding for Python observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 92
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3835
- days_rel: 685
- days_push: 53
- n_releases_24m: 1
Adoption not part of the score
2321 stars · 236 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ModernGL is a Python wrapper over OpenGL Core that simplifies creating high-performance graphics applications such as scientific simulations, games, and user interfaces. It offers a Pythonic, easy-to-learn API that is simpler and faster than PyOpenGL, and can render without a window.
Use cases
- render modern OpenGL scenes from Python
- build GPU-accelerated scientific simulations
- create games or graphical user interfaces in Python
- render graphics headlessly without a window
- upload numpy arrays or Pillow images as GPU textures
- write GLSL shaders with a simpler API than PyOpenGL
When to choose
- you want a Pythonic, low-boilerplate alternative to PyOpenGL
- you need high-performance GPU rendering with less code
- you want headless rendering for offscreen or server-side graphics
- you are doing scientific visualization or simulations on the GPU
When to avoid
- you need the full legacy OpenGL API surface rather than OpenGL Core
- you need a complete windowing or game engine solution (use moderngl-window or a game engine instead)
- your project is not Python-based
Facets
library · maturity stable
graphics simulation graphics data-visualization cross-platform python cross-platform opengl glsl gpu-rendering pyopengl-alternative headless-rendering shaders game-development gpu
1 source
- readme: https://github.com/moderngl/moderngl · fetched 2026-08-28 · 3bf5767f6c94
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| moderngl/moderngl | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="moderngl/moderngl")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem