Rebuild 3D: Take a Generated Object Apart and Put It Back
- Lab Skill
- v0.1.0
- Game creation
Name a toy-like object and your Agent builds a 3D reassembly puzzle in one offline HTML file. In the main example, a painted toy steam engine sits split into ten parts on a workshop turntable; you orbit the camera, drag each part to its slot, turn it right and drop it in over three rounds, with ghosts, hints and a reveal spin. The object is split with Tripo Segment and generated through SandBase; the turntable, snapping and scoring are code.
例
Rebuild 3D reassembly puzzle
この例はサンドボックス化されたフレームで実行され、このページにはアクセスできません。
オンラインで実行
SandBase sandbox で実行し、結果を Lab で確認できます。
Lab で開く ↗得られるもの
Bring an object to disassemble, or a picture of one; the Agent writes the parts, slots, rounds and hints. The Skill returns a downloadable Skill (the game project, a greybox prototype mode, a cost-reserving SandBase model-job helper, an offline build and a scripted play-through) and a playable example with its prepared media.
仕組み
- 01
Name an object with real parts
Tell your Agent what to rebuild, for example: a painted toy steam locomotive in ten parts. Pick something whose parts are visibly separate — distinct colours and clear joints — because Tripo Segment splits by geometry and texture, not meaning; vehicles, lamps, windmills and machines work well. On your machine with Node 22.14.0, the Agent runs node scripts/new-project.mjs my-game and npm ci, then writes project.json: the object prompt listing each part, the part cap, music and the seven sound cues.
- 02
Generate, split and name the parts
npm run generate prints every SandBase call with its worst-case price against your budget, and --confirm-real submits: image, model, Segment split, music, cues and a vision-model pass to name the parts, all billed to your SandBase account. npm run media then merges fragments, simplifies each part and measures its slot. The Agent reviews the part sheet and fixes wrong names by hand.
- 03
Rebuild it once yourself
npm run build inlines every part and the audio into dist/index.html under connect-src none. npm run shoot orbits, zooms, drags a part into its slot and one into a wrong slot, uses a hint, turns a part with R, runs out the clock and plays a full run to the win. Then rebuild it yourself: parts should snap only when near their slot across the view and turned to fit.
FAQ
How does Rebuild 3D split an object into parts?
Through SandBase it generates an image and a textured Tripo text-to-3D model, then calls Tripo Segment, which splits the model where its shape and texture change — about ten raw pieces for the locomotive. Local processing merges fragments too small to pick up, simplifies each part, and records its slot, matching quarter turns and identical twins. Segment splits by geometry and texture rather than meaning, so the Agent reviews the rendered part sheet before building and can pick another object when the split reads badly.
Are the part names reliable?
Not fully. A vision model names the parts from the part sheet for about a tenth of a cent, but five of ten names came back wrong in the official example — a chimney labelled a dome, the tender called a boiler — so the Agent checks every name against the sheet and fixes them by hand.
What are the three rounds like?
Round one loosens half the parts with a ghost in every slot and nothing turned. Round two turns every part a wrong quarter and shows ghosts only for the held or selected part. Round three keeps every part turned, hides all ghosts, reduces hints and adds a clock of eleven seconds per part plus twelve, with four seconds lost per mistake. Each cleared round plays a reveal spin.
Does Rebuild 3D call a model while I play?
No. All models and audio are generated once at build time and inlined into a single dist/index.html, which makes no network request at runtime. Generation bills your SandBase account, and a rerun skips finished parts so it never pays twice.
Is the game in English only?
Yes, the bench UI is in English; this page is in English and Chinese. The build is one offline file of about 3.3 MiB that needs WebGL 2 and makes no network request. Music and effects have separate toggles and start after you press Start.
Why is the demo sandboxed?
The frame has an opaque origin and no network access, so the scene can’t read anything from this page or reach the internet.
Can I play Rebuild 3D on a phone?
Yes, one finger orbits on empty space and drags parts, with Rotate and Hint buttons replacing the R and H keys. The headless play-through drives the same touch controls at 390×844; it has been verified under touch emulation, not on real devices.
Why is there no online generation?
Building a new scene needs a model key inside the sandbox, which the backend doesn’t support yet. Run the Skill with your own agent for now.
その他の Skills
すべての Game creation Skills →
Seagull Swoop
Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Wedding Cake Wobble
Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Hermit Tide
Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Clover Circuit: Estate Cut
Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Glide Gates: Lagoon Run
Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

3D Interactive Garden Islands
Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.

