← All projects
Project record1 mention
Originally shared on Hacker News

phoria2

A small WebGL 2 3D graphics library rebuilt from the submitter's old canvas-based 3D library; it targets business dashboard use cases (e.g., a dashboard of 100 charts on WebGL2 with minimal updates) and its GitHub source includes agent tests showing phoria code is ~50% smaller than three.js for the same task.

Last shared
01 / The problem

What it addresses

Finding a niche among existing 3D libraries without overlapping three.js too much.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. phoria2

    A small WebGL 2 3D graphics library rebuilt from the submitter's old canvas-based 3D library; it targets business dashboard use cases (e.g., a dashboard of 100 charts on WebGL2 with minimal updates) and its GitHub source includes agent tests showing phoria code is ~50% smaller than three.js for the same task.

    Problem: Finding a niche among existing 3D libraries without overlapping three.js too much.

    Posted by @kevs3d · Original source ↗

    Story title · @kevs3d · · Source ↗

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

    Submitted URL · @kevs3d · · Source ↗

    https://kevs3d.co.uk/phoria2/

    Source text · @kevs3d · · Source ↗

    One of the first things i did was to "gap analysis" with existing libs to see if i could find a niche as I don't want to overlap three.js too much

    Source text · @kevs3d · · Source ↗

    The full source on github has a bunch of agent tests that compare running tasks with phoria and three.js. It comes out well, with the agents able to build with both (obviously three because it's TRAINED on that, but I provide enough in llms.txt etc for phoria) and phoria code is ~50% smaller for the same task!

    Source text · @kevs3d · · Source ↗

    Yeah i definitely wanted to target "business" use-cases. We use ECharts at work for stuff like this for 2D mostly. Ensuring that phoria could do a dashboard of 100 charts using WebGL2 and minimal update was something I really wanted to get working well.