vinhhien112/three.js-object-sculptor-codex-plugin — explained in plain English
Analysis updated 2026-05-18
Turn a reference photo of an object into a procedural Three.js model built with code.
Build animation-ready game props with pivots and attachment points already in place.
Recreate objects like trees, ships, or mechanical parts without downloading external art assets.
Generate a structured spec of an object's parts and materials before writing any 3D code.
| vinhhien112/three.js-object-sculptor-codex-plugin | anthropics/jacobian-lens | littledivy/mimic | |
|---|---|---|---|
| Stars | 1,426 | 1,434 | 1,445 |
| Language | Python | Python | Python |
| Last pushed | — | 2026-07-17 | — |
| Maintenance | — | Active | — |
| Setup difficulty | moderate | moderate | moderate |
| Complexity | 4/5 | 4/5 | 3/5 |
| Audience | developer | researcher | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Codex with local plugin support, Python 3.10+, and a Three.js project to use the generated code.
Three.js Object Sculptor is a plugin for Codex, an AI coding assistant, that turns a picture of an object into a 3D model built entirely out of code, using a JavaScript library called Three.js that renders 3D graphics in a web browser. Instead of scanning the object or downloading a ready made 3D asset, it guides the AI through a step by step process: check that the image is usable, describe the object in detail, break it down into its shapes and materials, build it from a rough blockout up to fine detail, connect the parts so they can be animated later, then compare a render of the result against the original photo. The plugin is meant for objects that will move or interact in a scene, such as game props, mechanical parts, destructible objects, or even plants and trees, rather than for exact scans. The README is upfront that it is not meant for photogrammetry or for pulling a perfect mesh out of a single photo. Its output is a structured plan called an ObjectSculptSpec that records the object's parts, materials, lighting, and the pivot points needed for later animation, followed by generated code that builds the 3D model. The project includes checks meant to catch a common failure in AI generated 3D models, where the overall shape looks right but small identifying details are missing or wrong. It compares a screenshot of the rendered model to the original reference image using an AI vision reviewer and can block progress if an important feature does not match closely enough. To use it, someone needs Codex with local plugin support and Python 3.10 or newer installed, and it is set up by cloning the plugin into a local plugins folder and registering it in a Codex marketplace configuration file. The helper scripts rely on Python's standard library and do not need a full browser automation tool installed. Two live demos, a tower ship and an autumn tree, show the kind of output the plugin can produce.
A Codex plugin that turns a photo of an object into a code-only, animation-ready 3D model built with Three.js.
Mainly Python. The stack also includes Python, Three.js, Codex.
No license information was found in the README.
Setup difficulty is rated moderate, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.