A WebGL2 3D engine that AI agents drive
https://67js.codepawl.com โ HEALTH ? 98 / Healthy
A WebGL2 3D engine that AI agents drive
https://67js.codepawl.com โ// readme
67js is a WebGL2 renderer with addons for terrain, vegetation, characters, liquid, vehicles and media export. A scene is plain data: each part has a geometry, a matrix and a material. An agent builds and changes a scene through an MCP server, looks at PNG previews and renders stills or MP4 video. The goal is to be as capable as Blender and as light as three.js. Issue #23 tracks the work.
npm install 67js@npm:@codepawlhq/67js
The registry name is @codepawlhq/67js. The command installs it under the alias 67js, so imports stay short.
The package is ESM. The tools need Node.js 20.19 or later, and rendering needs a WebGL2 browser.
import { Renderer67, box, sphere } from '67js';
// Column-major 4x4 matrix: scale, then move.
const placed = ([x, y, z], [width, height, depth] = [1, 1, 1]) =>
new Float32Array([width, 0, 0, 0, 0, height, 0, 0, 0, 0, depth, 0, x, y, z, 1]);
const parts = [
{
name: 'Floor',
geometry: box(),
matrix: placed([0, 0, 0], [8, 0.1, 8]),
material: { color: [0.4, 0.42, 0.45], metallic: 0, roughness: 0.9, emission: 0 },
},
{
name: 'Ball',โฆ