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.91T 0.27
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>Circle 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        .circle {
17            width: 20px;
18            height: 20px;
19            border-radius: 50%;
20            border: 2px solid #00ffff;
21        }
22        .animate {
23            animation: pulse 2s infinite;
24        }
25        @keyframes pulse {
26            0% {
27                transform: scale(1);
28                opacity: 1;
29            }
30            50% {
31                transform: scale(1.2);
32                opacity: 0.5;
33            }
34            100% {
35                transform: scale(1);
36                opacity: 1;
37            }
38        }
39    </style>
40</head>
41<body>
42    <div class="circle animate"></div>
43</body>
44</html>