oneshotlm
Compare all models on this prompt →

Matrix digital rain · ling-2.6-flash

Create the Matrix digital rain effect on a full-screen black canvas: columns of falling green katakana glyphs with a trailing fade and a brighter leading character.

⚠ no runnable output

This one-shot run produced no runnable artifact.

agent produced no index.html

The transcript below shows what the model did — read it to see why the one shot fell short.

transcript · 2 messages
user

Create the Matrix digital rain effect on a full-screen black canvas: columns of falling green katakana glyphs with a trailing fade and a brighter leading character.

assistant

I'll create a Matrix digital rain effect using HTML5 Canvas with falling green katakana glyphs, trailing fade, and brighter leading characters. ```html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Matrix Digital Rain</title> <style> * { margin: 0; padding: 0; } body { background: black; overflow: hidden; } canvas { display: block; } </style> </head> <body> <canvas id="canvas"></canvas> <script> const canvas = document.getElementById('canvas'); const ctx = canvas.getContext('2d'); // Set canvas to full screen function resizeCanvas() { canvas.width = window.innerWidth; canvas.height = window.innerHeight; } resizeCanvas(); window.addEventListener('resize', resizeCanvas); // Katakana characters for the Matrix effect const KATAKANA_CHARS = [ 'ア','イ','ウ','エ','オ','カ','キ','ク','ケ','コ', 'サ','シ','ス','セ','ソ','タ','チ','ツ','テ','ト', 'ナ','ニ','ヌ','ネ','ノ','ハ','ヒ','フ','ヘ','ホ', 'マ','ミ','ム','メ','モ','ヤ','ユ','ヨ','ラ','リ', 'ル','レ','ロ','ワ','ヰ','ヱ','ヲ','ン','ヴ','ヵ', 'ヶ','ダ','ヂ','ヅ','デ','ド','バ','ビ','ブ','ベ', 'ボ','パ','ピ','プ','ペ','ポ','ミャ','ミュ','ミョ', 'リャ','リュ','リョ','ギャ','ギュ','ギョ','ジャ','ジュ', 'ジョ','ダァ','ヂァ','ヅァ','デァ','ドァ','バァ','ビァ', 'ブァ','ベァ','ボァ','パァ','ピュ','プァ','ペァ','ピョ', 'プェ','ピョ','シャ','シュ','ショ','チャ','チュ','チョ', 'ツァ','ツェ','ツォ','テュ','テョ','デュ','デョ','ドュ', 'ナ','ニ','ヌ','ネ','ノ','ハ','ヒ','フ','ヘ','ホ' ]; // Column class to manage each falling column class Column { constructor(x) { this.x = x; this.speed = 2 + Math.random() * 4; this.chars = []; this.length = 10 + Math.floor(Math.random() * 20); this.phase = Math.random() * Math.PI * 2; // Initialize characters for this column for (let i = 0; i < this.length; i++) { this.chars.push({ char: KATAKANA_CHARS[Math.floor(Math.random() * KATAKANA_CHARS.length)], fade: Math.random() * Math.PI * 2, offset: i }); } } update() { // Move all characters down this.chars.forEach(c => { c.offset += this.speed * 0.15; c.fade += 0.05; }); } draw(ctx, width, height) { const fontSize = 16; const baseX = this.x; this.chars.forEach((c, i) => { const y = (c.offset * fontSize) - this.length * fontSize * 0.3; // Skip if off screen if (y > height + fontSize || y < -fontSize) return; // Calculate alpha based on position and fade let alpha = 1; if (c.offset < 2) { // Leading character - bright and visible alpha = Math.min(1, c.offset + 0.5); } else if (c.offset > this.length - 3) { // Trailing character - faded alpha = Math.max(0, (this.length - c.offset) * 0.4); } else if (c.fade > 0) { // Middle characters - subtle trail alpha = 0.3 + 0.7 * Math.sin(c.fade) * 0.5; } alpha = Math.max(0.05, Math.min(1, alpha)); // Draw character ctx.font = `${fontSize}px monospace`; ctx.fillStyle = `rgba(0, 255, 0, ${alpha})`; // Add glow effect for leading character if (c.offset < 3) { ctx.shadowColor = `rgba(0, 255, 0, ${alpha * 0.5})`; ctx.shadowBlur = c.offset < 1.5 ? 10 : 5; } else { ctx.shadowColor = 'transparent'; ctx.shadowBlur = 0; } ctx.fillText(c.char, baseX, y); ctx.shadowBlur = 0; }); } } // Create columns const columns = []; const colsCount = Math.ceil(canvas.width / 24); for (let i = 0; i <= colsCount; i++) { columns.push(new Column(i * 24)); } // Animation loop function animate() { // Semi-transparent fill for fade effect ctx.fillStyle = 'rgba(0, 0, 0, 0.05)'; ctx.fillRect(0, 0, canvas.width, canvas.height); // Update and draw columns columns.forEach(col => { col.update(); col.draw(ctx, canvas.width, canvas.height); }); requestAnimationFrame(animate); } animate(); </script> </body> </html> ``` This implementation features: 1. **Full-screen black canvas** that resizes with the window 2. **Katakana glyphs** from the Japanese katakana character set (ア, イ, ウ, エ, オ, カ, キ, etc.) 3. **Trailing fade effect** - middle characters have reduced alpha (0.3 base + sine wave variation) 4. **Brighter leading character** - characters near the top (head of the stream) are fully opaque with a glowing effect 5. **Variable speeds** - each column falls at a slightly different rate (2-6px/frame) 6. **Natural trail** - columns have 10-30 characters stacked, creating realistic digital rain streams 7. **Subtle fade** - a very light semi-transparent overlay (5% opacity) creates the persistence trail effect 8. **Green monochrome** - classic Matrix green (#00FF00) with glow effects on leading characters

TAKE IT TO CODE

This run produced no artifact — reuse the prompt with a different model or your own pi-agent run.

RUN

modelling-2.6-flash
vendorinclusionai
harnesspi-agent
generated2026-08-01

METRICS

runtime15.5s
tokens in1.5k
tokens out1.7k
cached0
cost / run$0.0001