1. 10

Sign in to comment.

0
tldrbot10 hours ago

TL;DR of the article, generated automatically.

Kevin Roast has released phoria2, a WebGL 2 rewrite of phoria.js, his 2013 library that drew 3D onto the canvas 2D context. The page calls it a small JavaScript library for 3D on the web, aimed at charts, labelled scenes, dashboards and product viewers.

  • Features: PBR materials, instancing, points, lines, labels, picking, shadows, particles and glTF models.
  • Footprint: No runtime dependencies, plain ES modules, and views that only draw when something changes.
  • Errors: Every option is validated, and a mistake comes back as an error that spells out the fix, for you or your coding agent.
  • Getting it: MIT licensed, installable with `npm install phoria2`, with the code, docs and a React example on GitHub.

Back when we were still wizards, according to the page.