animation2code benchmark
For best compatibility, please view this dashboard in a Chrome browser.
← back to Animated Concepts #3

model output

LLaMA 4 Scout

Animated Concepts #3

A 0.61T 0.22
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>Loading Animation</title>
7    <style>
8        body {
9            background-color: #000;
10            display: flex;
11            justify-content: center;
12            align-items: center;
13            height: 100vh;
14            margin: 0;
15        }
16        .dot {
17            position: relative;
18        }
19        .dot::before {
20            content: "";
21            position: absolute;
22            top: 50%;
23            left: 50%;
24            transform: translate(-50%, -50%);
25            width: 10px;
26            height: 10px;
27            background-color: #FFC5C5;
28            border-radius: 50%;
29            opacity: 0;
30            animation: appear 0.5s forwards;
31        }
32        .dot::after {
33            content: "";
34            position: absolute;
35            top: 50%;
36            left: 50%;
37            transform: translate(-50%, -50%);
38            width: 20px;
39            height: 2px;
40            background-color: #FFC5C5;
41            opacity: 0;
42            animation: appear-line 0.5s 0.5s forwards;
43        }
44        @keyframes appear {
45            0% {
46                opacity: 0;
47                transform: translate(-50%, -50%) scale(0);
48            }
49            100% {
50                opacity: 1;
51                transform: translate(-50%, -50%) scale(1);
52            }
53        }
54        @keyframes appear-line {
55            0% {
56                opacity: 0;
57                width: 0;
58            }
59            100% {
60                opacity: 1;
61                width: 20px;
62            }
63        }
64        .move {
65            animation: move 2s infinite;
66        }
67        @keyframes move {
68            0% {
69                transform: translateY(0);
70            }
71            50% {
72                transform: translateY(-5px);
73            }
74            100% {
75                transform: translateY(0);
76            }
77        }
78    </style>
79</head>
80<body>
81    <div class="dot move"></div>
82</body>
83</html>