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.84T 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>Rotating Circle</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        .circle {
17            width: 50px;
18            height: 50px;
19            border-radius: 50%;
20            border: 2px solid #00ffff; /* Cyan color */
21        }
22        .animate {
23            animation: rotate 2s 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="circle animate"></div>
37</body>
38</html>