{"slug": "dominoplanner-code-tools-that-make-physics-programmable-in-ai-video", "title": "DominoPlanner: Code Tools That Make Physics Programmable in AI Video", "summary": "A research team released DominoPlanner, a planner that composes executable physics code tools — Blender rigid-body simulations, Genesis pour solvers, SVG animations and orbit camera renders — before a frozen video generator renders the final footage, with the PhyHarness harness verifying each plan against event specifications for order and timing. The arXiv paper (2612.02403), project page and GitHub repo report consistent gains on PhyGenBench, VideoPhy-2, VBench-2.0 physics and a new DominoChainBench for multistage causal chains, with training on the DominoPlanner-100K dataset of verified tool trajectories and routing decisions via supervised fine-tuning plus reinforcement learning with solver feedback. The work targets prompt-only video pipelines that animate events out of order, such as a flag flipping before objects hold release tongues, by moving physical reasoning from pixel guessing to executable, verifiable plans.", "body_md": "**DominoPlanner learns which physics code tools to run before a frozen video generator paints pixels** — composing **Blender rigid-body sims**, **Genesis pour solvers**, **SVG animations**, and **orbit camera renders** into plans that **PhyHarness** verifies for **event order and timing**. The [arXiv release](https://arxiv.org/abs/2612.02403?ref=explainx) (** 2612.02403**), [project page](https://infaaa.github.io/DominoPlanner/?ref=explainx), and [GitHub repo](https://github.com/inFaaa/DominoPlanner?ref=explainx) report consistent gains on **PhyGenBench**, **VideoPhy-2**, **VBench-2.0 physics**, and a new **DominoChainBench** for **multistage causal chains**.\n\nVideo models still fail the toy-shop test: a brass top and blue cube must **both** hold release tongues **before** a flag flips. Prompt-only pipelines often animate the flag early. DominoPlanner shifts **physical reasoning** from implicit pixel guessing to **executable, verifiable plans**.\n\n## TL;DR\n\n| Piece | Role | \n|---|---|\n| **DominoPlanner** | Policy that **picks and composes code tools** | \n| **PhyHarness** | **Executes** plans and**checks** event specs | \n| **Frozen video model** | Renders final footage from **verified controls** | \n| **DominoPlanner-100K** | **Supervised + RL** training data for tool routes | \n| **DominoChainBench** | **Multi-stage** causal chains beyond single events | \n\n## Why physics-grounded video breaks prompt-only control\n\nDominoPlanner teaser pairing code-tool drafts with final generated video frames\n*Image: [DominoPlanner authors](https://infaaa.github.io/DominoPlanner/?ref=explainx)*\n\nPhysically grounded generation wants **realistic visuals** and **correct causality**: dominoes fall **in order**, balls **bounce with decay**, paint **mixes to olive** without streaks.\n\nThe [project page comparison grid](https://infaaa.github.io/DominoPlanner/?ref=explainx) scores four properties—**timing**, **dependencies**, **realism**, **adaptivity**—across baselines:\n\n| Approach | Timing | Dependency | Realism | Adaptivity | \n|---|---|---|---|---|\n| **Prompt rewriting** | ✗ | ✗ | ◐ | ✗ | \n| **Motion conditioning** | ✗ | ✗ | ◐ | ✗ | \n| **Code rendering** | ✓ | ✓ | ✗ synthetic | ◐ | \n| **DominoPlanner** | ✓ | ✓ | ✓ | ✓ | \n\n**Prompt rewriting** sends the user text through an LLM into the video model with **no schedule**; the demo shows a flag moving **before** objects lodge.**Motion conditioning** fixes paths but cannot express **“wait until both tongues press.”****Code rendering** gets timing right but **bleeds a synthetic look** into the final video.\n\nDominoPlanner keeps **code-side physics** and lets a **frozen generator** supply **photorealism**—closer to how [ViDecide](https://explainx.ai/blog/videcide-video-diffusion-reasoning-planning-open-code-november-2026) treats video as **sequential decisions**, but here the decisions are **explicit tool calls**.\n\n## Architecture: plan, verify, then generate\n\nPer the [abstract](https://arxiv.org/abs/2612.02403?ref=explainx):\n\n1. **Planner** composes**executable code tools** that compute interactions**before** synthesis.\n2. **PhyHarness** runs each plan and**verifies** it against**event specifications** .\n3. **Router** sends**numeric, structural, and appearance controls** into**diverse conditioning modes** of**frozen** video generators—**text captions** for simple values,**reference video** for complex multi-object dynamics.\n\nDominoPlanner method overview diagram for physics-aware programmable video generation with code tools\n*Image: [DominoPlanner authors](https://infaaa.github.io/DominoPlanner/?ref=explainx)*\n\nTraining uses **DominoPlanner-100K**: verified **tool trajectories** and **routing decisions**. Authors **supervise fine-tune** tool composition, then apply **reinforcement learning** with **solver feedback** and **selective video rollouts** so the planner learns **when** a tool is worth calling.\n\n## The eleven-tool showcase\n\nPhyHarness exposes **eleven code tools**; the [showcase section](https://infaaa.github.io/DominoPlanner/?ref=explainx) pairs **each tool's computed output** with the **final DominoPlanner video**:\n\n- **Contact solver** — volleyball bounce decay on a gym floor.\n- **Genesis** — tea pour into a clear mug.\n- **Blender rigid body** — domino row collapse.\n- **Blender optics** — marble bending a checkered pattern.\n- **CadQuery** — melting ice rings into puddles.\n- **Orbit renderer** — circling a bonsai in a garden.\n- **SVG / HTML canvas** — juice fill and aquarium whale glide.\n\n**Chain-reaction demos** spell programs in plain language, for example **marble → dominoes → spoon → sugar in espresso cup**, or a **Y-split beach domino line** that **rings a bell** and **drops a flag** on different branches.\n\nFor builders, the takeaway is **tool diversity**: the planner must decide **not only whether to simulate**, but **which simulator** fits the request.\n\n## Side-by-side failures on one prompt\n\nThe page's **jewelry case chain** prompt is a stress test: a **purple bead** and **blue cube** must **each** press a **release tongue** before a **flag flips** and knocks a **toy soldier**.\n\n- **Single model column** swaps a**copper ring** for the rocker and tips the cylinder**without** the pin moving.\n- **Three.js program column** lists**bead_roll → rocker_tip → pin_slide → cylinder_topple** times, feeds an**edge reference** , yet still needs the planner loop.\n- **DominoPlanner column** shows the**full causal chain** with matched timing.\n\nSimilar triplets cover **bowling pin scatter**, **table-tennis bounce counts**, **paint mixing to olive**, and **orbit around a statue**—each marking **physics phrases** in purple on the request text.\n\n## Benchmarks and DominoChainBench\n\nAuthors evaluate on:\n\n- **[PhyGenBench](https://arxiv.org/abs/2406.16855?ref=explainx)** -style physics prompts.\n- **VideoPhy-2** physical consistency suites.\n- **VBench-2.0 physics** dimension.\n\nThey report **improvements across diverse general video backbones** without retraining each backbone inside DominoPlanner—useful if you already pay for a **commercial video API** and need **better physics conditioning**.\n\n**DominoChainBench** targets **multistage event chains** where **one wrong intermediate** breaks the story—think **domino Rube Goldberg** clips rather than **single collision** clips. That complements [WorldFoundry](https://explainx.ai/blog/worldfoundry-open-world-model-benchmark-infrastructure-2026) infrastructure for **world-model eval harnesses** and [VibePrevisBench](https://explainx.ai/blog/vibeprevisbench-kling-blender-agent-4d-scene-benchmark-2026) **previs** scoring, which sit **earlier** or **later** in the production stack.\n\n## How to try it\n\n1. **Read**[infaaa.github.io/DominoPlanner](https://infaaa.github.io/DominoPlanner/?ref=explainx) demos to pick a** tool family** closest to your use case (**fluid** ,**rigid body** ,**chain reaction** ).\n2. **Clone**[github.com/inFaaa/DominoPlanner](https://github.com/inFaaa/DominoPlanner?ref=explainx) and follow setup for** planner + PhyHarness + your generator hook** .\n3. **Start with frozen generator you already use** ; the paper assumes**conditioning modes** , not joint finetuning.\n4. **Log PhyHarness failures** —they are**cheaper signal** than re-running full diffusion when timing is wrong.\n5. **Compare** on**DominoChainBench** tasks if your product needs**multi-step causality** (ads, education simulations, robotics sim2real previews).\n\nCompute note: **code tools + verification + one video rollout** can exceed **one-shot diffusion** cost per prompt. The bet is **fewer unusable clips** and **less human rework**—similar economics to [EvalOpt-guided refinement](https://explainx.ai/blog/microsoft-evalopt-evolving-evaluators-human-feedback-december-2026) for **quality loops**.\n\n## Conditioning modes into frozen generators\n\nThe [project page](https://infaaa.github.io/DominoPlanner/?ref=explainx) stresses that verified plans become **generator inputs**, not final pixels. Depending on the tool and scene complexity, DominoPlanner may pass:\n\n- **Short text captions** encoding**numeric results** (bounce heights, mix colors as hex values, impact timestamps).\n- **Reference edge or line-art video** from**Three.js** or**Blender line renders** when structure matters more than texture.\n- **Full intermediate sim clips** when the generator needs**dense motion evidence** (domino chains, fluid pour).\n\nThat split matters for **API product managers**: you can keep a **single billing relationship** with your video vendor while swapping **planner versions** on your side. It also means **latency budgeting** must include **tool runtime**—a Genesis pour or rigid-body solve may take **seconds** before diffusion starts.\n\nIf you already run [VibePrevisBench-style graybox proxies](https://explainx.ai/blog/vibeprevisbench-kling-blender-agent-4d-scene-benchmark-2026), DominoPlanner is the **physics-accurate sibling** focused on **executable simulators** rather than **agent-built Blender layouts alone**.\n\n## Training pipeline in plain language\n\nDominoPlanner-100K dataset statistics for physics code-tool training\n*Image: [DominoPlanner authors](https://infaaa.github.io/DominoPlanner/?ref=explainx)*\n\nAuthors describe a **two-phase** recipe on **DominoPlanner-100K**:\n\n1. **Supervised fine-tuning** teaches**which tools to chain** on verified trajectories—similar to imitating expert**Blender Python** or**solver scripts** with**routing labels** .\n2. **Reinforcement learning** refines decisions using**solver feedback** (did the harness accept the event trace?) and**selective video rollouts** (did the final clip look worth the compute?).\n\nRL here is **not** end-to-end diffusion training. It optimizes **discrete tool policies** where mistakes are **cheap to detect** in PhyHarness. That is closer to **tool-use RL** in coding agents than to **reward hacking a single MP4 loss**.\n\nFor reproducibility, pin **harness versions** when you compare checkpoints—changing **tolerance on contact times** can move RL rewards without changing the planner weights.\n\n## Kitchen, workbench, desk, and beach chains\n\nBeyond benchmark tables, the **showcase chains** on the project page are the fastest way to understand **dependency grammar**:\n\n- **Kitchen** : marble → domino row → spoon flip → sugar into espresso—**single-threaded** causality.\n- **Workbench** :**both balls** must land before a**lever** lifts a**gate** —explicit**AND** dependency the prompt baselines mishandle.\n- **Study desk** : clockwork car → book cascade → ruler catapult → cup—**stored mechanical energy** across objects.\n- **Beach Y-branch** : one domino line**splits** to**bell** and**flag** outcomes—**parallel effects** after a shared cause.\n\nEach clip pairs **program text** with **final video**, so you can diff **where harness rejected** draft plans. Use those four templates as **regression fixtures** when you integrate a new generator backend.\n\n## Operational checklist before production\n\n| Step | Question to answer | \n|---|---|\n| **Harness** | Does PhyHarness accept your **event JSON schema** ? | \n| **Tool sandbox** | Are Blender/Genesis jobs **resource-capped** ? | \n| **Generator hook** | Which **conditioning mode** does your API expose? | \n| **Fallback** | If planning fails, do you **block render** or**degrade to text-only** ? | \n| **Logging** | Do you store **plan + harness trace + MP4** together for audits? | \n\nTeams shipping **consumer agents** should align this with **spending caps** lessons from [Stripe Link holiday telemetry](https://explainx.ai/blog/stripe-link-black-friday-agent-shopping-record-november-2026): physics planning adds **pre-cost** before checkout or render farms bill you.\n\n## Limits\n\n- **Frozen generators** cap**absolute visual fidelity** ; DominoPlanner improves**physics alignment** , not necessarily**every aesthetic detail** .\n- **DominoPlanner-100K** coverage may not include**your niche objects** ; expect**fine-tuning** for proprietary SKUs.\n- **RL stage** needs**solver feedback infrastructure** ; skipping verification reintroduces**silent timing bugs** .\n- Authors include **Ali Thabet** and**Quanzeng You** alongside academic collaborators; this is**research code** , not a hosted Meta product.\n\n## Who should care\n\n| Role | Why | \n|---|---|\n| **Video API integrators** | Add **verifiable physics plans** as an optional pre-step | \n| **Robotics sim teams** | Export **event schedules** before neural renderers | \n| **Edtech / demos** | Chain-reaction clips with **inspectable programs** | \n| **Safety reviewers** | Audit **symbolic plans** instead of latent diffusion only |", "url": "https://wpnews.pro/news/dominoplanner-code-tools-that-make-physics-programmable-in-ai-video", "canonical_source": "https://explainx.ai/blog/domino-planner-physics-code-tools-video-generation-december-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-12-02 00:00:00+00:00", "updated_at": "2026-12-02 09:47:18.931882+00:00", "lang": "en", "topics": ["artificial-intelligence", "generative-ai", "ai-research", "computer-vision", "ai-agents"], "entities": ["DominoPlanner", "PhyHarness", "DominoPlanner-100K", "DominoChainBench", "PhyGenBench", "VideoPhy-2", "VBench-2.0", "Blender"], "also_reported_by": [], "takeaway": "Composing executable physics code tools (Blender rigid-body sims, Genesis pour solvers) and verifying event order and timing with PhyHarness before a frozen video generator renders outperforms prompt rewriting and motion conditioning on PhyGenBench, VideoPhy-2, VBench-2.0 physics and DominoChainBenc", "recommendation": {"advice": "Verify generated video against explicit event specifications for order and timing before rendering, rather than relying on prompt rewriting alone.", "playbook": "output-verification", "playbook_url": "https://wpnews.pro/playbooks/output-verification"}, "alternates": {"html": "https://wpnews.pro/news/dominoplanner-code-tools-that-make-physics-programmable-in-ai-video", "markdown": "https://wpnews.pro/news/dominoplanner-code-tools-that-make-physics-programmable-in-ai-video.md", "text": "https://wpnews.pro/news/dominoplanner-code-tools-that-make-physics-programmable-in-ai-video.txt", "jsonld": "https://wpnews.pro/news/dominoplanner-code-tools-that-make-physics-programmable-in-ai-video.jsonld"}}