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

model output

Claude Sonnet 4.6

Tiny Single Element Loading Animations

A 0.88T 0.33
compare with ground truth →
1Looking at the frames, I can see a small circle in the top-left area that appears to be a spinning/rotating loading indicator. The circle has a gap (like a spinner) that rotates around.
2
3<!DOCTYPE html>
4<html lang="en">
5<head>
6<meta charset="UTF-8">
7<meta name="viewport" content="width=device-width, initial-scale=1.0">
8<title>Spinner Animation</title>
9<style>
10  * {
11    margin: 0;
12    padding: 0;
13    box-sizing: border-box;
14  }
15
16  body {
17    background: #ffffff;
18    width: 100vw;
19    height: 100vh;
20  }
21
22  .spinner {
23    position: absolute;
24    top: 40px;
25    left: 40px;
26    width: 22px;
27    height: 22px;
28    border: 1.5px solid rgba(0, 0, 0, 0.15);
29    border-top-color: rgba(0, 0, 0, 0.6);
30    border-radius: 50%;
31    animation: spin 1s linear infinite;
32  }
33
34  @keyframes spin {
35    0% {
36      transform: rotate(0deg);
37    }
38    100% {
39      transform: rotate(360deg);
40    }
41  }
42</style>
43</head>
44<body>
45  <div class="spinner"></div>
46</body>
47</html>