animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to SVG Loading icons

model output

LLaMA 4 Scout

SVG Loading icons

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