animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Simple Spinner

model output

LLaMA 4 Scout

Simple Spinner

A 0.60T 0.17
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>Animation</title>
7    <style>
8        body {
9            background-color: #008000;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .eye {
17            position: relative;
18            width: 20px;
19            height: 10px;
20            background-color: #FFFFFF;
21            border-radius: 50px;
22            transform: scale(1);
23            animation: blink 3s infinite;
24        }
25        @keyframes blink {
26            0% {
27                transform: scale(1);
28            }
29            50% {
30                transform: scale(0.8);
31            }
32            100% {
33                transform: scale(1);
34            }
35        }
36    </style>
37</head>
38<body>
39    <div class="eye"></div>
40</body>
41</html>