animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Spinners using Font Icons

model output

LLaMA 4 Scout

Spinners using Font Icons

A 0.32T 0.31
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            position: relative;
18            width: 50px;
19            height: 50px;
20            border-radius: 50%;
21        }
22        .loader::before {
23            content: "";
24            position: absolute;
25            top: 50%;
26            left: 50%;
27            transform: translate(-50%, -50%);
28            width: 100%;
29            height: 100%;
30            border-radius: 50%;
31            background: conic-gradient(#fff 0deg, #000 0deg);
32            animation: rotate 1s linear infinite;
33        }
34        @keyframes rotate {
35            0% {
36                background: conic-gradient(#fff 0deg, #000 0deg);
37            }
38            100% {
39                background: conic-gradient(#fff 360deg, #000 0deg);
40            }
41        }
42    </style>
43</head>
44<body>
45    <div class="loader"></div>
46</body>
47</html>