animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Such Spinners, Much Loading

model output

Gemini 3 Flash Preview

Such Spinners, Much Loading

A 0.88T 0.39
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>Pulsing Dot Animation</title>
7    <style>
8        /* Center the animation on the page */
9        body {
10            margin: 0;
11            padding: 0;
12            display: flex;
13            justify-content: center;
14            align-items: center;
15            height: 100vh;
16            background-color: #ffffff;
17        }
18
19        /* The central dark dot */
20        .dot {
21            width: 18px;
22            height: 18px;
23            background-color: #313131;
24            border-radius: 50%;
25            position: relative;
26        }
27
28        /* The expanding pulse ring */
29        .dot::after {
30            content: '';
31            position: absolute;
32            top: 0;
33            left: 0;
34            right: 0;
35            bottom: 0;
36            border-radius: 50%;
37            border: 1px solid #313131;
38            /* 1 second loop to match the video frames (0s, 1s, etc.) */
39            animation: pulse-ring 1s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
40        }
41
42        @keyframes pulse-ring {
43            /* At the start of the second (0s, 1s), the ring is visible and slightly larger than the dot */
44            0% {
45                transform: scale(1.1);
46                opacity: 0.7;
47            }
48            /* By mid-point (0.5s), the ring has expanded and faded out */
49            50% {
50                transform: scale(2.8);
51                opacity: 0;
52            }
53            /* Remains invisible until the cycle restarts */
54            100% {
55                transform: scale(2.8);
56                opacity: 0;
57            }
58        }
59    </style>
60</head>
61<body>
62    <div class="dot"></div>
63</body>
64</html>