← back to Nice spinny stuffcompare with ground truth →
model output
LLaMA 4 Scout
Nice spinny stuff
A 0.91T 0.13
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: #fff;
10 }
11 .dot {
12 position: absolute;
13 border-radius: 50%;
14 background-color: #FFC0CB; /* Light pink color */
15 animation: fade-out 2s linear infinite;
16 }
17 @keyframes fade-out {
18 0% {
19 opacity: 1;
20 transform: scale(1);
21 }
22 100% {
23 opacity: 0;
24 transform: scale(0.5);
25 }
26 }
27 </style>
28</head>
29<body>
30 <script>
31 const dotsContainer = document.body;
32 const numDots = 10;
33 const duration = 2000; // 2 seconds
34 const delay = 200; // 200ms
35
36 for (let i = 0; i < numDots; i++) {
37 const dot = document.createElement('div');
38 dot.classList.add('dot');
39 dot.style.top = `${Math.random() * 100}px`;
40 dot.style.left = `${Math.random() * 100}px`;
41 dot.style.width = `${20 - i * 2}px`;
42 dot.style.height = `${20 - i * 2}px`;
43 dot.style.animationDelay = `${i * delay}ms`;
44
45 // Animate the dots along a curve
46 dot.style.transform = `translate(${i * 20}px, ${Math.sin(i * 0.1) * 50}px)`;
47
48 dotsContainer.appendChild(dot);
49 }
50 </script>
51</body>
52</html>