wagerfield/flat-surface-shader
Flat Surface Shader for rendering illuminated triangles observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4915
- days_rel: n/a
- days_push: 3891
- n_releases_24m: 0
Adoption not part of the score
2466 stars · 266 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A lightweight JavaScript library implementing a flat surface shader that renders illuminated triangles using Lambertian reflectance. It supports rendering to WebGL, Canvas 2D, and SVG contexts.
Use cases
- render lit triangles in the browser
- simulate flat shading with lights on a mesh
- create animated low-poly lighting backgrounds
- render 3D lighting effects without WebGL using canvas or SVG
- build interactive triangle-based visual effects
When to choose
- you need lightweight flat-shaded triangle rendering with multiple output contexts
- you want WebGL fallbacks via Canvas 2D or SVG
- you need simple Lambertian lighting simulation in JavaScript
When to avoid
- you need full 3D rendering with textures, shadows, or complex shaders
- you need a maintained general-purpose 3D engine like three.js
- you need PBR or advanced lighting models
Facets
library · maturity maintenance
graphics animation graphics web-development frontend browser lighting triangles webgl canvas-2d svg lambertian-reflectance 3d-rendering javascript
2 sources
- readme: https://github.com/wagerfield/flat-surface-shader · fetched 2026-08-28 · f88aa85c3189
- homepage: http://wagerfield.github.io/flat-surface-shader/ · fetched 2026-08-29 · 15c0092156e7
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wagerfield/flat-surface-shader | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="wagerfield/flat-surface-shader")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem