ALL INTELLIGENCE
Hacker News AIT2·Tools

phoria2 Launches: Lightweight WebGL 2 Library Optimized for AI Agents

Original title: Show HN: I rebuilt my old canvas 3D library as a small WebGL 2 library – phoria2
42AI Score

Open-source project phoria2 launches as a lightweight WebGL 2 JavaScript library for 3D rendering. Its core feature is high compatibility with both developers and AI coding agents, utilizing strict parameter validation and clear error feedback to significantly lower integration and debugging barriers.

Full Report

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 on GitHub.

A rewrite of phoria.js, a JavaScript library from 2013 that rendered 3D onto the canvas 2D context. Back when we were still wizards.