Log inGet started
World

ClaudeCraft on ThreeZero

Branchmain
Branchesmain
Commitef839d6d0e

README.md

three (zJs)

The THREE API surface for the Zero engine. import * as THREE from 'three' inside a ThreeZero app resolves to this module. Plain-JS math (Vector2/3, Quaternion, Euler, Color, Matrix4, Spherical), the Object3D scene graph, parametric geometries, materials, lights, cameras, Clock, and a WebGLRenderer whose render(scene, camera) walks the graph and diffs it into __ZERO host calls: mesh/light entity lifecycle, one batched transform sync per frame, scene lighting, background, and the viewport camera.

Geometries map to Zero primitive meshes (box, sphere, plane, cylinder, cone, torus, capsule, octahedron). Custom BufferGeometry renders as a placeholder. Points, Line, and Sprite objects are skipped with a one-time warning. Textures load as inert handles; material color/emissive/opacity drive the visual.