animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Loaders (WIP)

model output

LLaMA 4 Scout

Loaders (WIP)

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