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.44T 0.21
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        .loader {
17            position: relative;
18        }
19        .bar {
20            position: absolute;
21            width: 2px;
22            height: 0px;
23            left: 50%;
24            transform-origin: bottom center;
25            background-color: #FF3737;
26            animation: grow-out 0.5s ease-out;
27        }
28        .bar:nth-child(1) {
29            animation-delay: 0s;
30        }
31        .bar:nth-child(2) {
32            animation-delay: 0.1s;
33        }
34        .bar:nth-child(3) {
35            animation-delay: 0.2s;
36        }
37        @keyframes grow-out {
38            0% {
39                height: 0px;
40                transform: translateX(0) rotate(0deg);
41            }
42            100% {
43                height: 50px;
44                transform: translateX(0) rotate(45deg);
45            }
46        }
47    </style>
48</head>
49<body>
50    <div class="loader">
51        <div class="bar"></div>
52        <div class="bar"></div>
53        <div class="bar"></div>
54    </div>
55</body>
56</html>