animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Animated Dot Loaders

model output

LLaMA 4 Scout

Animated Dot Loaders

A 0.65T 0.22
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: #000;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .dot {
17            position: relative;
18            width: 20px;
19            height: 20px;
20            border-radius: 50%;
21            background-color: #ccc;
22            animation: pulse 1.5s infinite;
23        }
24        .dot:nth-child(1) {
25            animation-delay: 0s;
26        }
27        .dot:nth-child(2) {
28            animation-delay: 0.5s;
29        }
30        .dot:nth-child(3) {
31            animation-delay: 1s;
32        }
33        .dot:nth-child(4) {
34            animation-delay: 1.5s;
35        }
36
37        @keyframes pulse {
38            0% {
39                opacity: 0.2;
40            }
41            50% {
42                opacity: 1;
43            }
44            100% {
45                opacity: 0.2;
46            }
47        }
48    </style>
49</head>
50<body>
51    <div class="dot"></div>
52    <div class="dot"></div>
53    <div class="dot"></div>
54    <div class="dot"></div>
55</body>
56</html>