🛠 img2threejs is a browser-based tool that converts 2D images into procedural 3D code for Three.js.

Instead of using heavy meshes or photogrammetry, the project generates TypeScript code that creates objects from primitives and procedural geometry. This allows for a ready-to-animate object hierarchy directly in the browser.

🌍 The project offers an alternative path for 3D content generation focused on resource efficiency (token-efficient). Instead of transferring gigabytes of geometry, compact programmatic code is transmitted, simplifying integration into web applications and accelerating rendering.

👤 It is now possible to create high-quality 3D models of objects directly in the browser based on a single photograph, obtaining not just a "frozen" model, but a programmatically controllable object ready for interaction and animation.

Source 1: https://github.com/hoainho/img2threejs