animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Cloudy Spiral CSS animation

model output

LLaMA 4 Scout

Cloudy Spiral CSS animation

A 0.64T 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>Animation</title>
7    <style>
8        body {
9            background-color: #4567b7;
10            margin: 0;
11            padding: 0;
12            overflow: hidden;
13        }
14        .circles {
15            position: absolute;
16            top: 50%;
17            left: 50%;
18            transform-origin: 50% 50%;
19            animation: spin 3s linear infinite;
20        }
21        @keyframes spin {
22            0% {
23                transform: translate(-50%, -50%) rotate(0deg);
24            }
25            100% {
26                transform: translate(-50%, -50%) rotate(360deg);
27            }
28        }
29        .circles::before {
30            content: "";
31            position: absolute;
32            top: 50%;
33            left: 50%;
34            transform: translate(-50%, -50%);
35            width: 0;
36            height: 0;
37            border-radius: 50%;
38            border: 1px solid #fff;
39            opacity: 0;
40            animation: grow 3s linear infinite;
41        }
42        @keyframes grow {
43            0% {
44                width: 10px;
45                height: 10px;
46                opacity: 1;
47            }
48            100% {
49                width: 200px;
50                height: 200px;
51                opacity: 0;
52            }
53        }
54    </style>
55</head>
56<body>
57    <div class="circles"></div>
58    <script>
59        // No JavaScript needed for this animation
60    </script>
61</body>
62</html>