# oframe/ogl

Minimal WebGL Library

Repository: https://github.com/oframe/ogl
Canonical: https://ross.abutalabs.com/products/ogl
Homepage: https://oframe.github.io/ogl/examples
Language: JavaScript
License Family: other
Last push: 2025-04-13T07:51:49+00:00

## Health v2 (maintenance only)
Score: 39/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 16, release rhythm 35, longevity 100
- inputs: {"age_days": 3022, "days_push": 507, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4634, forks 235 (observed 2026-08-28T04:08:55.396458+00:00)

## What it is
OGL is a minimal WebGL library written in ES6 modules with zero dependencies, aimed at developers who prefer low levels of abstraction and want to write their own shaders. Its API resembles ThreeJS but is tightly coupled to WebGL, making it lightweight (~29kb) and useful as a learning resource for graphics programming.

## Use cases
- render 3D graphics in the browser with WebGL
- write custom shaders with minimal abstraction
- create particle systems and GPGPU effects
- load and render GLTF and OBJ 3D models
- build lightweight interactive 3D scenes without ThreeJS
- learn WebGL through commented examples

## When to choose
- you want a tiny, tree-shakeable WebGL library with zero dependencies
- you prefer writing your own shaders over high-level abstractions
- you want to combine the library with native WebGL commands
- bundle size matters and ThreeJS feels too heavy

## When to avoid
- you need a full-featured 3D engine with extensive built-in features
- you want high-level abstractions rather than working close to WebGL
- you need guaranteed licensing clarity in the repository metadata (license file absent on GitHub, though npm lists Unlicense)

## Facets
- artifact type: library
- maturity: active
- function: graphics, animation, ui-components
- domain: graphics, web-development, frontend
- platform: browser
- tags: webgl, shaders, 3d-graphics, es6-modules, zero-dependency, threejs-alternative, gpgpu, creative-coding, game-development, javascript, web

## Member repositories
- oframe/ogl (main) score 39

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:55.396458+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-29T18:19:34.983972+00:00, confidence not recorded.
  - readme: https://github.com/oframe/ogl (fetched 2026-08-28T04:08:55.396458+00:00, sha 023ccb0cbb52)
  - homepage: https://oframe.github.io/ogl/examples (fetched 2026-08-29T09:04:26.645956+00:00, sha 8e3ef16baff6)
  - registry_npm: https://registry.npmjs.org/ogl (fetched 2026-08-29T09:04:26.655194+00:00, sha 827c17f83fea)
- Data as of 2026-08-30T08:39:29.467469+00:00.
