img2threejs: Procedural Code-Only Image-to-3D for Three.js

Repositoryimg2threejs/img2threejsTool

img2threejs turns reference images into procedural, animation-ready Three.js models generated purely as code, avoiding traditional mesh extraction or photogrammetry.

Key points

  1. Reconstructs image objects purely via Three.js code rather than downloaded meshes or photogrammetry
  2. Quality-gated, animation-ready, and designed to be token-efficient for generative workflows
  3. Uses Three.js and WebGL at runtime with tooling powered by the Python 3.10+ standard library
  4. Aimed at generative workflows and AI agents such as Claude Code
  5. Released under the Apache 2.0 open-source licence

Why it matters

Typical generative 3D pipelines produce rigid, high-overhead mesh files that are cumbersome to edit in code. Generating clean, procedural Three.js source code makes 3D elements easier to animate, tweak, and embed directly into web apps.

Analysis

img2threejs targets web developers, 3D graphics programmers, and AI agent pipelines needing lightweight, code-driven 3D assets. With version 1.5.2, over 15,000 GitHub stars, 1,200 forks, and external sponsors like Atlas Cloud and Tripo, the repository demonstrates strong traction and a solid maturity level.

Found in

Summary generated by AI (Gemini 3.8 Flash, 27 September 2026). It may contain errors – the original source is authoritative.

Similar in content, found by the AI search.

  • Video

    Video:DesignCourse

    Converting Images into Interactive Three.js 3D Models with img2threejs

    Gary Simon from DesignCourse demonstrates img2threejs, an open-source project that converts photographs or AI-generated images into usable, interactive Three.js 3D web elements. Through two practical demos—a studio stool and a MIDI keyboard—he shows the workflow and iterative prompt adjustments.

    AI & LLMs· Demo

  • Repository:nirholas/three.ws

    three.ws: Browser-Native 3D AI Agents via Three.js and MCP

    three.ws is an open-source platform designed to create and embed interactive 3D agents directly in the browser. It allows developers to turn text, images, or sketches into rigged GLB avatars, attach LLM reasoning via the Model Context Protocol (MCP), and embed them anywhere using a single Web Component.

    224starsJavaScript

    AI & LLMs· Tool

  • Repository:mshumer/Claude-of-Duty

    Claude of Duty: Fully Procedural Browser FPS Built by AI Agents Using Three.js

    Claude of Duty is an open-source first-person shooter running in the browser on Three.js r180 and WebGL2. Spanning roughly 55,000 lines of code across 11 subsystems, it was constructed by an orchestrated fleet of AI agents. The game contains zero pre-baked art assets: every texture, 3D mesh, animation, and sound effect is generated procedurally from code at runtime.

    3.4kstarsJavaScript

    AI & LLMs· Demo

Let's talk about your project

Locations

  • Mattersburg
    Johann Nepomuk Bergerstraße 7/2/14
    7210 Mattersburg, Austria
  • Vienna
    Ungargasse 64-66/3/404
    1030 Wien, Austria

Parts of this content were created with the assistance of AI.