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

model output

Qwen3-VL-8B-Instruct

Single Element Spinner

A 0.91T 0.29
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>Circle Animation</title>
7<style>
8  body {
9    background-color: black;
10    margin: 0;
11    padding: 0;
12    display: flex;
13    justify-content: center;
14    align-items: center;
15    height: 100vh;
16  }
17  .circle {
18    width: 20px;
19    height: 20px;
20    border: 2px solid cyan;
21    border-radius: 50%;
22    position: relative;
23    animation: pulse 1.5s ease-in-out infinite alternate;
24  }
25  @keyframes pulse {
26    0% {
27      transform: scale(1) rotate(0deg);
28    }
29    100% {
30      transform: scale(1.2) rotate(360deg);
31    }
32  }
33</style>
34</head>
35<body>
36  <div class="circle"></div>
37</body>
38</html>