Self-running 3D Rube Goldberg machine

Leo shared this full prompt as the identical one-shot instruction used with Opus 5.5 in Claude Code and GPT-6 Astra in Codex CLI. It requests a self-contained Three.js-rendered Rube Goldberg simulation with custom physics, an automatic cinematic sequence, and deterministic replay.

Prompt optimization tips

1

Specify editability

State which objects must remain separate, named and editable; otherwise a visually convincing shell may still be unusable.

2

Close the test loop

Ask the model to run the scene, inspect visible failures and repeat until concrete frame-rate, interaction and layout checks pass.

3

Stage long builds

For large worlds, split the work into districts, assemblies or milestones and approve each section before expanding scope.

Imagine It. Shape It.