animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Simple Spinner

model output

Qwen3-VL-8B-Instruct

Simple Spinner

A 0.86T 0.31
compare with ground truth →
1<!DOCTYPE html>
2<html lang="en">
3<head>
4<meta charset="UTF-8">
5<meta name="viewport" content="width=device-width, initial-scale=1.0">
6<title>Rotating Circle Animation</title>
7<style>
8  body {
9    margin: 0;
10    padding: 0;
11    background-color: #ff9900;
12    display: flex;
13    justify-content: center;
14    align-items: center;
15    height: 100vh;
16  }
17  .circle {
18    width: 40px;
19    height: 40px;
20    border: 2px solid #fff;
21    border-top-color: #ff4d4d;
22    border-radius: 50%;
23    animation: rotate 1.5s linear infinite;
24    transform: translateZ(0);
25  }
26  @keyframes rotate {
27    0% {
28      transform: rotate(0deg);
29    }
30    100% {
31      transform: rotate(360deg);
32    }
33  }
34</style>
35</head>
36<body>
37  <div class="circle"></div>
38</body>
39</html>