cd /news/developer-tools/show-hn-i-rebuilt-my-old-canvas-3d-l… · home › topics › developer-tools › article
[ARTICLE · art-161461] src=kevs3d.co.uk ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Show HN: I rebuilt my old canvas 3D library as a small WebGL 2 library – phoria2

Developer Kevin Roast released phoria2, an MIT-licensed JavaScript 3D library built on a WebGL 2 renderer, published to npm as `npm install phoria2` and hosted on GitHub with documentation and a React example. The library offers PBR materials, instancing, points, lines, labels, picking, shadows, particles and glTF model support, ships with no runtime dependencies as plain ES modules, and redraws views only when something changes. Phoria2 validates every option and returns errors that detail the fix, an error design the release says is aimed at both human developers and coding agents.

read1 min views1 publishedOct 31, 2026

pho·ri·a (fôr-) n. The relative directions of the eyes during binocular fixation on a given object

phoria2 is a small, fast JavaScript library for 3D on the web - charts, labelled scenes, dashboards and product viewers, on a WebGL 2 renderer with an API you can learn in an afternoon. Designed for ease-of-use by agents and humans from the ground up!

  • Everything you need PBR materials, instancing, points, lines, labels, picking, shadows, particles and glTF models.
  • Light and quick No runtime dependencies, plain ES modules, and views that only draw when something changes.
  • Tells you what to write Every option is validated, a mistake comes back as an error that details the fix - for you, or your coding agent.
  • Open source MIT licensed.npm install phoria2 , then find the code, the docs and a React example onGitHub .
── more in #developer-tools 4 stories · sorted by recency
── more on @phoria2 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-i-rebuilt-my…] indexed:0 read:1min 2026-10-31 · —