← back to Retro Sine Wave 〰compare with ground truth →
model output
LLaMA 4 Scout
Retro Sine Wave 〰
A 0.67T 0.33
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: #1a1a1a;
10 margin: 0;
11 display: flex;
12 justify-content: center;
13 align-items: center;
14 height: 100vh;
15 overflow: hidden;
16 }
17 .bars {
18 position: relative;
19 width: 100px;
20 height: 100px;
21 }
22 .bar {
23 position: absolute;
24 background-color: orange;
25 animation: move 5s infinite;
26 }
27 @keyframes move {
28 0% {
29 opacity: 1;
30 transform: translateX(0) translateY(0);
31 }
32 100% {
33 opacity: 1;
34 transform: translateX(50px) translateY(50px);
35 }
36 }
37 </style>
38</head>
39<body>
40 <div class="bars">
41 <!-- Bars will be generated dynamically -->
42 </div>
43 <script>
44 const barsContainer = document.querySelector('.bars');
45 for (let i = 0; i < 20; i++) {
46 const bar = document.createElement('div');
47 bar.classList.add('bar');
48 bar.style.width = `${Math.random() * 20 + 10}px`;
49 bar.style.height = '2px';
50 bar.style.top = `${Math.random() * 100}px`;
51 bar.style.left = `${Math.random() * 100}px`;
52 bar.style.animationDelay = `${Math.random() * 2}s`;
53 barsContainer.appendChild(bar);
54 }
55 </script>
56</body>
57</html>