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

model output

LLaMA 4 Scout

Simple Spinner

A 0.80T 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>Loading Animation</title>
7    <style>
8        body {
9            background-color: #FF69B4;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .dot {
17            width: 10px;
18            height: 10px;
19            border-radius: 50%;
20            background-color: white;
21            display: inline-block;
22            position: relative;
23            animation: scale 1s infinite;
24        }
25        #dot1 {
26            animation-delay: 0s;
27        }
28        #dot2 {
29            animation-delay: 0.33s;
30        }
31        #dot3 {
32            animation-delay: 0.66s;
33        }
34        @keyframes scale {
35            0%, 100% {
36                transform: scale(1);
37            }
38            50% {
39                transform: scale(1.5);
40            }
41        }
42    </style>
43</head>
44<body>
45    <span id="dot1" class="dot"></span>
46    <span id="dot2" class="dot"></span>
47    <span id="dot3" class="dot"></span>
48</body>
49</html>