AnimWeb-Bench: Benchmarking Animated Webpage Code Generation from Videos
Zhongyi Zhang, Jingyu Xiao, Shuqing Li, Michael R. Lyu
Key points
From the paper's conclusion- To fill this gap, we introduce AnimWeb-Bench, the first benchmark for animated webpage code generation from videos.
Abstract
Animation is pervasive on the Web, the CSS animation property alone appears on over three-quarters of webpages. Yet existing webpage code generation benchmarks target static screenshots, user-triggered interactions, or isolated motion graphics, leaving the ability of multimodal large language models (MLLMs) and coding agents to reconstruct complete animated webpages largely unexplored. To fill this gap, we introduce AnimWeb-Bench, the first benchmark for animated webpage code generation from videos. It comprises 124 real-world webpages spanning 7 application domains and 33 animation types, with 91.9% of pages combining multiple types, each paired with a reference video and the static assets of the original webpage. We further propose a human-aligned, two-dimensional evaluation protocol: Static Appearance Fidelity measures structure, text, color, and visual similarity on aligned keyframes, while Animation Fidelity tracks UI components across frames and compares their position, size, velocity, and appearance with those in the reference video. Evaluating 14 MLLMs and three coding agents reveals: (1) reproducing webpage animations is substantially more difficult than reproducing static appearance; (2) explicit frame inspection and render feedback improve the reconstruction quality of coding agents; and (3) rapid, continuous changes are harder to reproduce than discrete state transitions. Our code and dataset are available at https://starry1001.github.io/AnimWeb-Bench-website/ .
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- MotionGraphicsBench: Evaluating Motion Graphics Generation with Programmatic VerificationarXiv · 2026
- Code2Video-Compass: A Comprehensive Benchmark for General-Purpose Code-Based Video Generation across T2V, I2V, and V2VarXiv · 2026
- VibeVideoAgent: Closing the Perceptual Loop for Code-Driven Video GenerationarXiv · 2026
- WebArena-Pro: A Heterogeneous, Multimodal, Reproducible Benchmark for Web AgentsarXiv · 2026
- CodeCap-Bench: Can Code Serve as a Good Video Caption?arXiv · 2026
- 4DCodeBench: Benchmarking Agents on Inverse Graphics of Dynamic ScenesarXiv · 2026