Animation2Code: Evaluating Temporal Visual Reasoning in Video-to-Code Generation
On the map: LLM reasoning → Multimodal reasoning
Abstract (arXiv)
While recent vision-language models (VLMs) have achieved significant improvements on static visual-to-code tasks such as generating code for webpages, charts, or SVGs, it remains unclear whether they can recover temporal dynamics when motion is present. To this end, we introduce Animation2Code, a benchmark for evaluating temporal visual reasoning via reconstructing executable web animation code from videos. Animation2Code consists of 1,069 web animation videos with diverse visual appearances and motion patterns, paired with corresponding HTML/CSS/JavaScript implementations. We propose two human-aligned metrics, appearance similarity and temporal similarity, which allow us to disentangle visual fidelity from temporal alignment when comparing rendered animations against ground-truth samples. Benchmarking state-of-the-art VLMs on this dataset shows that current VLMs struggle to maintain temporal consistency in reconstruction, even when achieving high appearance similarity, including under finetuning and iterative refinement settings. Code and data are available at https://anya-ji.github.io/animation2code-website .
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Multimodal reasoning, one of 17 directions in LLM reasoning. Builds on 36 of its 48 references that are in the map. First posted on arXiv 26 Jun 2026.
Builds on
36 of 48 references.
Closest ancestors · 2
Same direction, newest first
- 2026Learning Transferable Temporal Primitives for Video Reasoning via Synthetic Videos18 Mar
- 2025METAL: A Multi-Agent Framework for Chart Generation with Test-Time Scaling24 Feb
Other references · 34
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2024Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysiscited by 1,375
- 2023MVBench: A Comprehensive Multi-modal Video Understanding Benchmarkcited by 1,086
- 2019CLEVRER: CoLlision Events for Video REpresentation and Reasoningcited by 475
- 2024TempCompass: Do Video LLMs Really Understand Videos?cited by 352
- 2023DreamSim: Learning New Dimensions of Human Visual Similarity using Synthetic Datacited by 322
- 2024Design2Code: Benchmarking Multimodal Code Generation for Automated Front-End Engineeringcited by 146
- 2024Unlocking the conversion of Web Screenshots into HTML Code with the WebSight Datasetcited by 126
- 2023Space-Time Diffusion Features for Zero-Shot Text-Driven Motion Transfercited by 124
- 2024Liger Kernel: Efficient Triton Kernels for LLM Trainingcited by 123
22 more
- 2024CoTracker3: Simpler and Better Point Tracking by Pseudo-Labelling Real Videoscited by 122
- 2017pix2code: Generating Code from a Graphical User Interface Screenshotcited by 113
- 2023Video-Bench: A Comprehensive Benchmark and Toolkit for Evaluating Video-based Large Language Modelscited by 107
- 2024TemporalBench: Benchmarking Fine-grained Temporal Understanding for Multimodal Video Modelscited by 96
- 2025ChartCoder: Advancing Multimodal Large Language Model for Chart-to-Code Generationcited by 88
- 2016Image-to-Markup Generation with Coarse-to-Fine Attentioncited by 79
- 2024PhyT2V: LLM-Guided Iterative Self-Refinement for Physics-Grounded Text-to-Video Generationcited by 77
- 2024Web2Code: A Large-scale Webpage-to-Code Dataset and Evaluation Framework for Multimodal LLMscited by 73
- 2024VideoVista: A Versatile Benchmark for Video Understanding and Reasoningcited by 72
- 2025AutoPresent: Designing Structured Visuals from Scratchcited by 63
- 2024Interaction2Code: Benchmarking MLLM-based Interactive Webpage Code Generation from Interactive Prototypingcited by 50
- 2024Revisiting Code Similarity Evaluation with Abstract Syntax Tree Edit Distancecited by 26
- 2024Image2Struct: Benchmarking Structure Extraction for Vision-Language Modelscited by 18
- 2025UniSVG: A Unified Dataset for Vector Graphic Understanding and Generation with Multimodal Large Language Modelscited by 14
- 2026TimeBlind: A Spatio-Temporal Compositionality Benchmark for Video LLMscited by 11
- 2024LogoMotion: Visually-Grounded Code Synthesis for Creating and Editing Animationcited by 10
- 2025Improved Iterative Refinement for Chart-to-Code Generation via Structured Instructioncited by 8
- 2026SlidesGen-Bench: Evaluating Slides Generation via Computational and Quantitative Metricscited by 8
- 2026WebVR: Benchmarking Multimodal LLMs for WebPage Recreation from Videos via Human-Aligned Visual Rubricscited by 8
- 2023Dynamic Dynamic Time Warpingcited by 5
- 2025AnyAni: An Interactive System with Generative AI for Animation Effect Creation and Code Understanding in Web Developmentcited by 1
- 2025Decomate: Leveraging Generative Models for Co-Creative SVG Animationcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Video2Code: Generating Interactive Webpages from UI Videos via Action-Aware Revisit
- 2026Vision2Code: A Multi-Domain Benchmark for Evaluating Image-to-Code Generation
- 2026PRISM: A Benchmark for Programmatic Spatial-Temporal Reasoning
- 2025Vector Prism: Animating Vector Graphics by Stratifying Semantic Structure
- 2025IWR-Bench: Can LVLMs reconstruct interactive webpage from a user interaction video?
- 2025MoVer: Motion Verification for Motion Graphics Animations
- 2025PlotGen-Bench: Evaluating VLMs on Generating Visualization Code from Diverse Plots across Multiple Libraries
- 2026VisPhyWorld: Probing Physical Reasoning via Code-Driven Video Reconstruction