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

model output

LLaMA 4 Scout

Single Element Spinner

A 0.83T 0.28
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: black;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .loader {
17            border-radius: 50%;
18            border: 2px solid #00ffff;
19            border-top: 2px solid transparent;
20            width: 20px;
21            height: 20px;
22            animation: spin 1s linear infinite;
23        }
24        @keyframes spin {
25            0% {
26                transform: rotate(0deg);
27            }
28            100% {
29                transform: rotate(360deg);
30            }
31        }
32    </style>
33</head>
34<body>
35    <div class="loader"></div>
36</body>
37</html>