# regl-project/regl

👑 Functional WebGL

Repository: https://github.com/regl-project/regl
Canonical: https://ross.abutalabs.com/products/regl
Homepage: https://regl-project.github.io/
Language: JavaScript
License: MIT
License Family: permissive
Topics: webgl, regl, javascript
Last push: 2026-08-04T15:44:32+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 3845, "days_push": 29, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5574, forks 328 (observed 2026-08-28T04:09:22.518369+00:00)

## What it is
regl is a fast functional WebGL library for JavaScript that replaces the raw WebGL API with declarative resources and commands. It compiles state descriptions into optimized draw calls, removing shared mutable state from GPU programming.

## Use cases
- render 2D and 3D graphics in the browser with WebGL
- write declarative GPU draw commands without managing WebGL state
- build data visualizations that need high-performance rendering
- create shader-based animations and generative art
- prototype graphics demos quickly in JavaScript
- draw thousands of objects efficiently with batched WebGL commands

## When to choose
- you want a functional, stateless abstraction over raw WebGL
- you need high-performance rendering for visualizations or demos
- you prefer declaring draw state once and reusing compiled commands
- you want a lightweight library rather than a full 3D engine

## When to avoid
- you need a full scene graph, cameras, and asset loading out of the box
- you are targeting WebGPU instead of WebGL
- you want a batteries-included game engine with physics and lighting
- you need React-style component integration without writing wrappers

## Facets
- artifact type: library
- maturity: maintenance
- function: graphics, game-engine
- domain: graphics, web-development
- platform: browser
- tags: webgl, opengl, glsl, functional-programming, gpu, data-visualization, 3d-graphics, rendering, game-development, javascript, web

## Member repositories
- regl-project/regl (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:22.518369+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:55:34.978985+00:00, confidence not recorded.
  - readme: https://github.com/regl-project/regl (fetched 2026-08-28T04:09:22.518369+00:00, sha d3a9bb3831dd)
  - homepage: https://regl-project.github.io/ (fetched 2026-08-29T08:50:55.425982+00:00, sha 44136fa355b3)
  - registry_npm: https://registry.npmjs.org/regl (fetched 2026-08-29T08:50:55.435980+00:00, sha 5bf8c44b8990)
- Data as of 2026-08-30T08:39:29.467469+00:00.
