# evanw/lightgl.js

A lightweight WebGL library

Repository: https://github.com/evanw/lightgl.js
Canonical: https://ross.abutalabs.com/products/lightgljs
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-08-25T07:09:47+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5547, "days_push": 1469, "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 1570, forks 149 (observed 2026-08-28T04:05:05.310082+00:00)

## What it is
lightgl.js is a lightweight JavaScript library that wraps WebGL to make it easier to quickly prototype 3D graphics applications in the browser. It provides a low-level API with OpenGL-style conveniences like a modelview/projection matrix stack, built-in GLSL uniforms, and immediate mode, without a scene graph.

## Use cases
- prototype WebGL 3D graphics in the browser
- draw rotating cubes and meshes with shaders
- render to a texture
- implement a first-person camera
- use OpenGL immediate mode in JavaScript
- learn WebGL and shader programming

## When to choose
- you want a minimal, low-level WebGL wrapper without a scene graph
- you're prototyping or learning WebGL/OpenGL concepts
- you prefer OpenGL-style matrix stacks and immediate mode

## When to avoid
- you need a full 3D engine with scene graphs, lighting, and asset pipelines
- you want an actively maintained library with modern WebGL2/WebGPU support
- you need high-level abstractions like Three.js provides

## Facets
- artifact type: library
- maturity: maintenance
- function: graphics, game-engine
- domain: graphics, web-development
- platform: browser
- tags: webgl, opengl, 3d-graphics, shaders, matrix-math, prototyping, game-development, javascript, web

## Member repositories
- evanw/lightgl.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:05.310082+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-30T03:58:28.674711+00:00, confidence not recorded.
  - readme: https://github.com/evanw/lightgl.js (fetched 2026-08-28T04:05:05.310082+00:00, sha 408ce9976a6a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
