# img2threejs

A tool that rebuilds the object in a reference image as a code-only, procedural Three.js model rather than a downloaded mesh, producing an animation-ready 3D scene an AI coding agent can generate directly.

img2threejs takes a single reference image of an object and reconstructs it as a Three.js model built entirely from generated code: primitives, procedural shaders and generated geometry, rather than photogrammetry, mesh extraction or a downloaded asset pack.

The output is quality-gated and animation-ready, and is designed to be token-efficient so an AI coding agent, such as Claude Code, can generate it directly. Reconstructions run live in the browser with no mesh files or downloads, and a public gallery lets a viewer orbit each model, inspect its source reference image, and read the generated source code.

Website: https://img2threejs.io
