# regl: 4.6 out of 10

Keep, but not for new work. 9th of 9 in [3D and WebGL libraries](https://elestia.ai/opensource/3d/index.md).

regl is a small, stable, functional wrapper around WebGL 1: you describe draw commands as plain objects and regl manages the GL state. It works well and has no dependencies. But it has had no feature release since 2.1.1 in November 2024, has no WebGL 2 or WebGPU path, and its maintainers are mostly idle, so keep it where it runs. Pick three.js for scenes, or OGL or TWGL for low-level work.

**Best for:** Data-visualization or shader developers who want a thin, declarative layer over raw WebGL 1 and can accept a project that rarely changes.

## Scores

- **Overall: 4.6** (likely 3.6 to 5.9)
  - Claude Opus 5.5 (3.5): regl still works and is safe to keep where it runs, but its maintainers are mostly idle and it is stuck on WebGL 1. For drawing 3D scenes, three.js or its framework bindings are far better. For low-level work, OGL or TWGL offer WebGL 2. Its downloads are growing more slowly than the median.
  - GPT-6.2 Sol (5.6): regl is a reasonable choice when custom GLSL and explicit draw-state control are central to the project. For most new browser 3D scenes, three.js offers scene management, cameras, and asset loaders backed by much more active maintenance. The long release gap and incomplete WebGL 2 support make the recommendation depend on how well WebGL 1 covers the project's expected lifetime.
- **Needed by many: 3.2** (likely 2.2 to 4.3)
  - Claude Opus 5.5 (3.0): Few JS developers need 3D in the browser, and fewer want to write raw shaders with a thin state wrapper instead of using a scene library. regl's audience is mostly data visualization and creative coding, a clear niche within the category.
  - GPT-6.2 Sol (3.4): regl serves developers who build custom browser rendering pipelines, including scientific visualization and shader effects. It works without a UI framework, but low-level draw commands appeal to a narrower audience than general 3D scene tools. The State of JavaScript survey measures graphics and visualization broadly, so it only gives an indirect estimate of demand for this approach.
- **Helps a lot: 5.8** (likely 4.8 to 6.9)
  - Claude Opus 5.5 (5.0): Within its scope regl is well designed and fast, with bundled types and good API docs. It drives scatterplots of millions of points. But it is limited to WebGL 1 features, offers nothing for 3D scenes, and has old open type and texture bugs. OGL and TWGL cover similar low-level ground with WebGL 2.
  - GPT-6.2 Sol (6.6): Version 2.1.1 compiles reusable draw commands and provides batch rendering, profiling, TypeScript declarations, and runtime checks for invalid inputs. Developers still write GLSL and assemble their own scenes, and users report gaps with WebGL 2 textures. One independent shader demo shipped a larger bundle with regl than with OGL. The score draws on documentation and user reports, with limited comparative runtime or coding-agent measurements.
- **Holds up over time: 3.1** (likely 2.1 to 4.4)
  - Claude Opus 5.5 (3.0): The last release was November 2024. The last year brought only two README commits, the Scorecard gives Maintained a 0, and an open issue asks where the maintainers went. One maintainer (rreusser) still merges small changes, and the API is stable, but there is no WebGL 2 or WebGPU roadmap while the platform moves on.
  - GPT-6.2 Sol (3.2): regl recorded two commits in the past year and last published to npm in November 2024. The WebGL 2 tracking issue is still open without a milestone, while three.js and Babylon.js ship regularly. A mature API can remain useful with few releases, but current funding and release coverage are unclear.
- **Used widely: 4.2** (likely 3.1 to 5.3)
  - Claude Opus 5.5 (4.0): 5.3M downloads per 4 weeks and 7,107 dependent repos is solid, above Babylon.js and OGL on dependents. But most installs come through visualization libraries rather than direct choices. Its download ratio of 3.35 is below the median of 4.1, so it is losing ground, and it gets almost no social attention.
  - GPT-6.2 Sol (4.3): The collector found 7,107 dependent repositories and 275 dependent packages, an established base that trails three.js and React Three Fiber. Four-week downloads rose from 1.58 million to 5.29 million, a 3.35× increase below the catalog's 4.1× baseline. Downstream installs and partial repository coverage make direct adoption hard to estimate, and one Bluesky post offers little evidence of fresh interest.
- **Vouched for: 5.1** (likely 4.0 to 6.7)
  - Claude Opus 5.5 (4.0): Respected visualization projects such as Bokeh, Deepscatter, regl-scatterplot and the Allen Institute ABC Atlas build on it, and Plotly keeps a fork. Most of these endorsements are old, and I found no current independent reviews or survey data.
  - GPT-6.2 Sol (6.2): The Allen Institute uses regl in its visualization stack, and regl-scatterplot continues to depend on 2.1.1. Plotly's main integration uses the scoped @plotly/regl package, which supports the design's track record and gives weaker evidence for choosing the upstream package today. The strongest examples come from data visualization, and broad satisfaction data is scarce.
- **Safe: 6.0** (likely 4.9 to 7.2)
  - Claude Opus 5.5 (6.0): It has zero dependencies, an MIT licence and no advisories ever, so the attack surface is small. The Scorecard is 3.3, with no branch protection, no security policy and unpinned workflow dependencies, and the project is barely maintained, so a future issue might go unfixed.
  - GPT-6.2 Sol (6.0): The MIT licence permits commercial use, and zero runtime dependencies limit the supply-chain surface. OSV lists zero advisories, leaving patch response untested. The 3.3 OpenSSF Scorecard flags branch protection, workflow token permissions, and security policy, while the release process and active publisher coverage remain unclear. Runtime code generation also conflicts with strict browser Content Security Policies that block dynamic evaluation.

## Good

- Draw commands are declarative and hide WebGL's global state, which removes a whole class of state-leak bugs.
- It has zero runtime dependencies, an MIT licence, bundled TypeScript types and no known advisories.
- The API has been stable for years, and old code keeps working.
- It is proven in data-visualization tools such as regl-scatterplot, Deepscatter and Bokeh for drawing millions of points.

## Bad

- It targets WebGL 1 and has no native WebGL 2 or WebGPU path, so it is falling behind the platform.
- It has had no release since November 2024 and only two README commits in the last year, while 110 issues stay open.
- It has no scene graph, loaders, materials or cameras, so drawing a 3D scene takes much more code than with three.js.
- Plotly ships its own fork (@plotly/regl), which splits the ecosystem and its fixes.

## The numbers

- Downloads, 4 weeks: 5.3M
- In a year: ×3.4
- GitHub stars: 5.6k
- Commits, 12 months: 2
- Last npm release: Nov 2024
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/regl-project/regl
- npm: https://www.npmjs.com/package/regl

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
