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.84T 0.21
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: #ff3737; /* Red background */
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .loader {
17            position: relative;
18            width: 100px;
19            height: 100px;
20        }
21        .loader::before {
22            content: "";
23            position: absolute;
24            top: 50%;
25            left: 50%;
26            transform: translate(-50%, -50%);
27            width: 100%;
28            height: 100%;
29            border-radius: 50%;
30            border: 2px solid white;
31        }
32        .dot {
33            position: absolute;
34            top: 50%;
35            left: 50%;
36            transform: translate(-50%, -50%);
37            width: 10px;
38            height: 10px;
39            background-color: white;
40            border-radius: 50%;
41            animation: moveDot 4s linear infinite;
42        }
43        @keyframes moveDot {
44            0% {
45                transform: translate(-50%, -50%) translateX(0);
46            }
47            100% {
48                transform: translate(-50%, -50%) translateX(85px);
49            }
50        }
51    </style>
52</head>
53<body>
54    <div class="loader">
55        <div class="dot"></div>
56    </div>
57</body>
58</html>