greggman/twgl.js
A Tiny WebGL helper Library observed · 2026-08-28
Health v2 · maintenance only
53/100
- Activity 46
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 4177
- days_rel: n/a
- days_push: 324
- n_releases_24m: 0
Adoption not part of the score
2997 stars · 261 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TWGL.js is a tiny JavaScript helper library that reduces the verbosity of the raw WebGL and WebGL2 APIs. It provides concise functions for compiling shader programs, creating buffers, setting uniforms and attributes, creating textures, and managing framebuffers.
Use cases
- write low-level WebGL code without boilerplate
- compile shaders and set uniforms with minimal code
- create and bind buffers and attributes from arrays
- create textures and framebuffers easily
- build custom WebGL renderers or visualizations
- learn WebGL without a heavy 3D engine
When to choose
- you want low-level control over WebGL without verbose API calls
- you find three.js too heavy or abstract for your needs
- you're learning WebGL internals
- you need a small dependency for shader-based graphics or effects
When to avoid
- you want a full-featured 3D engine with scenes, cameras, and loaders — use three.js
- you need high-level abstractions like physics or animation systems
- you're not working with WebGL at all
Facets
library · maturity stable
graphics ui-components developer-tools web-development graphics frontend browser webgl webgl2 3d-graphics shaders canvas helper-library javascript web
4 sources
- readme: https://github.com/greggman/twgl.js · fetched 2026-08-28 · bcf51fb90c40
- homepage: http://twgljs.org · fetched 2026-08-29 · 60fe9717c4f8
- site_page: http://twgljs.org/docs · fetched 2026-08-29 · 91647e2c8382
- registry_npm: https://registry.npmjs.org/twgl.js · fetched 2026-08-29 · d829f50a0f4b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| greggman/twgl.js | main | 53 |
For agents
markdown · JSON · MCP: product_card(name="greggman/twgl.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem