← back to Animated Concepts #3compare with ground truth →
model output
Claude Sonnet 4.6
Animated Concepts #3
A 0.68T 0.27
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>Logo Animation</title>
7<style>
8 * { margin: 0; padding: 0; box-sizing: border-box; }
9
10 body {
11 background: #2a2a2a;
12 width: 100vw;
13 height: 100vh;
14 display: flex;
15 align-items: center;
16 justify-content: center;
17 overflow: hidden;
18 }
19
20 .logo-container {
21 position: relative;
22 width: 60px;
23 height: 60px;
24 display: flex;
25 align-items: center;
26 justify-content: center;
27 }
28
29 .circle {
30 position: absolute;
31 width: 60px;
32 height: 60px;
33 border-radius: 50%;
34 background: #f07070;
35 overflow: hidden;
36 animation: circleAnim 2.4s ease-in-out infinite;
37 }
38
39 .stripe1 {
40 position: absolute;
41 width: 100%;
42 height: 100%;
43 top: 0; left: 0;
44 }
45
46 .stripe1::before {
47 content: '';
48 position: absolute;
49 width: 140%;
50 height: 14px;
51 background: #2a2a2a;
52 top: 38%;
53 left: -20%;
54 transform: rotate(-35deg);
55 }
56
57 .stripe1::after {
58 content: '';
59 position: absolute;
60 width: 140%;
61 height: 8px;
62 background: #2a2a2a;
63 top: 52%;
64 left: -20%;
65 transform: rotate(-35deg);
66 }
67
68 @keyframes circleAnim {
69 0% {
70 transform: scaleY(1) rotate(0deg);
71 border-radius: 50%;
72 opacity: 1;
73 }
74 20% {
75 transform: scaleY(0.04) rotate(-30deg);
76 border-radius: 2px;
77 opacity: 1;
78 }
79 35% {
80 transform: scaleY(0.04) rotate(-30deg);
81 border-radius: 2px;
82 opacity: 1;
83 }
84 45% {
85 transform: scaleY(0.04) rotate(-10deg);
86 border-radius: 2px;
87 opacity: 1;
88 }
89 55% {
90 transform: scaleY(0.04) rotate(-10deg);
91 border-radius: 2px;
92 opacity: 1;
93 }
94 75% {
95 transform: scaleY(1) rotate(0deg);
96 border-radius: 50%;
97 opacity: 1;
98 }
99 100% {
100 transform: scaleY(1) rotate(0deg);
101 border-radius: 50%;
102 opacity: 1;
103 }
104 }
105</style>
106</head>
107<body>
108 <div class="logo-container">
109 <div class="circle">
110 <div class="stripe1"></div>
111 </div>
112 </div>
113
114<script>
115 // The animation is purely CSS-driven
116</script>
117</body>
118</html>