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.65T 0.26
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            border: 2px solid #fff;
22            border-top-color: transparent;
23            animation: rotate 1s linear infinite;
24        }
25        @keyframes rotate {
26            0% {
27                transform: rotate(0deg);
28            }
29            100% {
30                transform: rotate(360deg);
31            }
32        }
33    </style>
34</head>
35<body>
36    <div class="loader"></div>
37</body>
38</html>