Text2SimAgentic Physics-Based Simulation Generation
with Distilled Expertise

Xiaoyu Xiong1,2Tsun-Hsuan Wang3Yi-Ling Qiao3Tao Du1,4Minchen Li2,3

1Tsinghua University2Carnegie Mellon University3Genesis AI4Shanghai Qi Zhi Institute

Rigid body

A chain-suspended sphere scatters rigid blocks.

Deformable body

Compress soft blocks with a piston, then twist.

Cloth

Colorful cloth pieces tumble inside a rotating drum.

Abstract

Creating diverse physical simulations remains labor-intensive because assets, layout, physical parameters, motion, control, and rendering must be designed and debugged jointly. We present Text2Sim, a simulation-specialized agentic pipeline that converts a text-only request into an executable, editable dynamic case. Built on Genesis, Text2Sim uses a hierarchical agentic structure that combines a Planner with specialized Writers, asset-generation tools, and an independent Critic. Compact skills (Debug Cards) distilled from graphics demonstrations provide role-specific physical guidance for execution-based repair. We evaluate physical quality, visual quality, and human preference on 42 held-out prompts spanning rigid, articulated, deformable, and cloth phenomena, with a paper-level split between experience construction and evaluation. We design automatic physical and visual scorers to evaluate the quality of the results, and Text2Sim achieves higher scores than all four state-of-the-art baselines on both metrics. In blinded user studies with these baselines, significantly more participants prefer Text2Sim than prefer the baselines, which is consistent with the results from our automatic scorers. The pipeline also supports a broad range of downstream applications; we select dataset construction and extension to multimodal input as two representative examples. We will release the code, the Debug Card library, and a dataset of generated cases, each pairing the text prompt and rendered video with the executable program, assets, physical parameters, controls, and recorded states.

Method

Text2Sim brings planning, specialized code generation, and execution-based critique into one simulation authoring workflow.

A text prompt enters a Planner connected to simulator documentation and Debug Cards. The Planner coordinates Scene, Body, Action, and Render Writers, mesh and articulation tools, execution, and an independent Critic to produce simulation code and video.
01

Plan & build

A Planner coordinates four Writers for the scene, bodies, actions, and rendering. Asset agents supply geometry and articulated mechanisms.

02

Execute & critique

Genesis executes the generated program. An independent Critic inspects code, numerical records, and rendered evidence to guide targeted repairs.

03

Retrieve expertise

Debug Cards distill graphics demonstrations into reusable diagnostic and repair guidance, retrieved for each task and responsible agent.

Results

We evaluate physical quality, visual quality, and human preference on 42 held-out prompts, comparing Text2Sim with four baselines.

Rigid Body

Prompt Rotate a blue roller to wind an interlocked colorful ring chain and lift its rigid anchor. Continue rotating to fling the chain and anchor outward until extended.

Deformable Body

Prompt Pull an extremely soft blue dolphin through a rigid funnel and a long tube much narrower than its body, so it elongates and squeezes through.

Cloth

Prompt Slowly pull a teal tablecloth from beneath plates, food, cutlery, a bottle, and a goblet on a black table. Let friction drag the objects as the cloth drapes.

GPT-5.6-Sol did not produce a completed simulation for this case.

Quantitative Results

Scores over all 42 evaluation cases. Bold values indicate the best mean in each metric.

Physical Quality

Scene, Body, Action, and Render evaluate the generated program and its execution evidence.

Physical quality. Overall scores: Text2Sim 95.32 ± 1.37; GPT-5.6-Sol 86.59 ± 4.44; Qwen-3.8-Max 84.09 ± 2.05; Claude-Opus-5 88.60 ± 2.07; Code2Worlds 67.91 ± 4.27. Text2Sim has the highest mean in all five columns.
Physical quality: Physical scores for our method and four baselines over all 42 cases (Total). Entries report the original means with their associated errors; bold marks the largest mean (best result) in each metric.
Configuration Scene Body Action Render Overall
Text2Sim 99.10 ± 2.42 99.15 ± 1.20 96.10 ± 2.36 87.22 ± 3.96 95.32 ± 1.37
GPT-5.6-Sol 99.09 ± 3.08 95.55 ± 4.15 82.69 ± 4.91 76.50 ± 5.20 86.59 ± 4.44
Qwen-3.8-Max 97.25 ± 3.42 93.38 ± 4.22 83.57 ± 3.96 70.89 ± 4.40 84.09 ± 2.05
Claude-Opus-5 97.03 ± 4.38 96.84 ± 2.69 88.75 ± 3.16 77.63 ± 4.40 88.60 ± 2.07
Code2Worlds 67.20 ± 7.04 81.50 ± 6.93 71.68 ± 6.09 73.56 ± 6.00 67.91 ± 4.27

Visual Quality

Content fulfillment, demonstration clarity, visual polish, and demo appeal are evaluated from the rendered videos.

Visual quality. Overall scores: Text2Sim 70.23 ± 2.87; GPT-5.6-Sol 59.89 ± 2.58; Qwen-3.8-Max 56.31 ± 2.51; Claude-Opus-5 59.45 ± 2.61; Code2Worlds 59.26 ± 2.91. Text2Sim has the highest mean in all five columns.
Visual quality: Visual scores for our method and four baselines over all 42 cases (Total). Entries report the original means with their associated errors; bold marks the largest mean (best result) in each metric. Content, Clarity, Polish, and Appeal denote content fulfillment, demonstration clarity, visual polish, and demo appeal, respectively.
Configuration Content Clarity Polish Appeal Overall
Text2Sim 71.58 ± 4.82 74.94 ± 3.95 66.27 ± 2.73 64.70 ± 4.75 70.23 ± 2.87
GPT-5.6-Sol 63.00 ± 4.28 64.98 ± 3.23 55.08 ± 3.95 51.48 ± 4.30 59.89 ± 2.58
Qwen-3.8-Max 60.10 ± 3.86 60.56 ± 3.63 52.86 ± 4.13 45.96 ± 3.47 56.31 ± 2.51
Claude-Opus-5 62.44 ± 4.11 64.38 ± 3.53 54.89 ± 4.02 51.21 ± 3.86 59.45 ± 2.61
Code2Worlds 59.70 ± 5.11 60.52 ± 3.63 57.84 ± 3.85 58.27 ± 3.63 59.26 ± 2.91

User Study

Blinded comparisons with 60 participants. GPT-5.6-Sol is the reference at 50; green and pink cells indicate higher and lower preference scores.

User study. Text2Sim scores 61.11 ± 2.59 in task faithfulness, 62.10 ± 2.59 in physical plausibility, 59.92 ± 3.01 in visual quality, and 61.41 ± 3.11 in overall preference. Overall preference: GPT-5.6-Sol 50 (anchor), Qwen-3.8-Max 48.02 ± 3.57, Claude-Opus-5 54.17 ± 3.41, Code2Worlds 48.31 ± 3.37.
User study: User-study scores for the five main methods over all 42 cases (Total). Entries report the original means with their associated errors; GPT-5.6-Sol is a fixed reference at 50. Bold marks the largest mean (best result) for each dimension. Cell backgrounds encode the mean relative to the reference: white at 50, increasingly green above 50, and increasingly red below 50.
Method Task faithfulness Physical plausibility Visual quality Overall preference
Text2Sim 61.11 ± 2.59 62.10 ± 2.59 59.92 ± 3.01 61.41 ± 3.11
GPT-5.6-Sol 50 (anchor) 50 (anchor) 50 (anchor) 50 (anchor)
Qwen-3.8-Max 48.11 ± 3.07 47.82 ± 3.41 45.34 ± 3.30 48.02 ± 3.57
Claude-Opus-5 53.97 ± 2.97 52.98 ± 3.11 51.98 ± 3.19 54.17 ± 3.41
Code2Worlds 49.17 ± 2.76 44.74 ± 3.47 54.56 ± 3.10 48.31 ± 3.37

Applications

Bring a visual reference or an existing asset into the same simulation authoring workflow.

Handwritten Sketch to Simulation

Prompt Create a simulation of colorful soft letters (5 rows) falling, scattering, and settling into a loose pile.

Handwritten reference sketch specifying the letter shapes and order
Handwritten sketch
Generated simulation

Supplied Asset to Simulation

Prompt Use the supplied asset for two curtains on sliding hooks. Gather them at the window sides, then close them again, preserving the printed graphics as the cloth folds.

Supplied cloth asset bearing the ACM SIGGRAPH graphic
Supplied asset
Generated simulation

BibTeX

@misc{xiong2026text2simagenticphysicsbasedsimulation,
  title={Text2Sim: Agentic Physics-Based Simulation Generation with Distilled Expertise},
  author={Xiaoyu Xiong and Tsun-Hsuan Wang and Yi-Ling Qiao and Tao Du and Minchen Li},
  year={2026},
  eprint={2609.36593},
  archivePrefix={arXiv},
  primaryClass={cs.GR},
  url={https://arxiv.org/abs/2609.36593},
}