Polygonjs creator begins rewriting procedural geometry engine in Jai
The developer behind Polygonjs, an eight-year-old browser-based procedural geometry tool built on three.js, TypeScript and Vue.js, says he is now rewriting its core engine in the Jai programming language. He cites persistent frustrations with JavaScript's memory management, particularly the inability to reliably track or free memory used by generated geometries and unpredictable pauses caused by garbage collection.
GoKawiil's interpretation of the reporting above, not reported fact.
The move suggests that for memory-intensive, real-time applications like procedural 3D generation, some developers see JavaScript's automatic garbage collection as a performance ceiling rather than a convenience. Choosing Jai, a lower-level systems language designed for manual memory control, could indicate a broader interest among creative-tool developers in languages that trade ease-of-use for predictable performance. If successful, this rewrite could inform how other browser-based creative or graphics tools balance developer convenience against runtime control.
- Polygonjs, an eight-year-old procedural geometry tool, is being rewritten in the Jai programming language.
- The original JavaScript/TypeScript version struggled with tracking and freeing memory used by generated geometries.
- Garbage collection pauses in JavaScript could disrupt frame timing in animated or interactive 3D scenes.
Source: polygonjs.com, 2026-10-22
Published there as: “Rewriting a Commercial Engine in Jai”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.