Gemini 3.1 Flash Lite
by GoogleReasoningClean
Running live in a sandboxed frame. Click inside it before using the keyboard.
How it went
- Total time
- 3.8 s
- Cost
- $0.0021
- Output tokens
- 1,344
- Spent thinking
- 0 tokens
- Speed
- 406 tok/s
- Console errors
- 0
- First token after
- 478 ms
- First visible text after
- 478 ms
- Prompt tokens
- 533
- Code size
- 2.8 KB
- Finish reason
- stop
- Served by
- Model id
google/gemini-3.1-flash-lite- Reasoning sent
model default- Max output
- 65,536 tokens
- Generated
- Nov 12, 2026
What it was asked
The prompt
Create a standalone SVG illustration of a fox sitting on a hill, looking at the moon on a starry night, with a few subtle animations. Requirements: - Output a single valid .svg file (```svg code block) with a viewBox of 0 0 800 600. - Hand-written shapes and paths only: no embedded raster images, no external references, no JavaScript. - The fox must be clearly recognizable (pointy ears, snout, bushy tail with a white tip). - Include the moon with a soft glow, many stars, the hill and some background elements (trees, distant hills). - Use a coherent color palette and at least one gradient. - Animations (SMIL or CSS inside the SVG), all looping seamlessly: stars twinkling, the fox's tail swaying gently, and a shooting star crossing the sky every 4 seconds (the first one within 2 seconds).
System prompt, sent with every prompt
You are generating a self-contained web demo. It will be rendered automatically in a sandboxed iframe and compared side by side with the output of other AI models given the exact same task. Output rules: - Reply with exactly ONE fenced code block containing the complete file: ```html (or ```svg when the task asks for an SVG). No text before or after the code block. - Everything must be inline: CSS in <style>, JavaScript in <script>. No external files, images, fonts or network requests, except the CDN URLs explicitly allowed by the task. - Do not use localStorage, sessionStorage, cookies, IndexedDB, alert(), confirm(), prompt() or window.open(): they are blocked in the sandbox and will throw. - The page must look right in a 1280×800 viewport and adapt gracefully down to 375px wide. No horizontal scrollbar. - Something meaningful must be visible on first paint: a screenshot is taken automatically about 3 seconds after load, without any interaction. - Everything that makes the demo interesting must be visible within the first seconds: nothing hidden behind a high score, a later level or a long play session. - Games must start in a self-playing demo mode (a simple AI plays) behind a "Click or press a key to start" message, so the game can be judged in action without playing. - The iframe only receives keyboard events after the user clicks it: if the demo uses the keyboard, display a clear "Click or press a key to start" message. - The code must run with zero errors in the console of the latest Chrome.
Code run-1.svg · 71 lines
<svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="skyGrad" x1="0" y1="0" x2="0" y2="1">
<stop offset="0%" stop-color="#0a0a20" />
<stop offset="100%" stop-color="#1b1b40" />
</linearGradient>
<radialGradient id="moonGlow">
<stop offset="0%" stop-color="#fff" stop-opacity="0.6" />
<stop offset="100%" stop-color="#fff" stop-opacity="0" />
</radialGradient>
<filter id="glow">
<feGaussianBlur stdDeviation="2.5" />
</filter>
</defs>
<!-- Background -->
<rect width="800" height="600" fill="url(#skyGrad)" />
<!-- Stars -->
<g>
<circle cx="100" cy="100" r="1.5" fill="white">
<animate attributeName="opacity" values="0.3;1;0.3" dur="3s" repeatCount="indefinite" />
</circle>
<circle cx="300" cy="50" r="2" fill="white">
<animate attributeName="opacity" values="1;0.2;1" dur="4s" repeatCount="indefinite" />
</circle>
<circle cx="500" cy="200" r="1" fill="white">
<animate attributeName="opacity" values="0.5;1;0.5" dur="2s" repeatCount="indefinite" />
</circle>
<circle cx="700" cy="150" r="1.5" fill="white">
<animate attributeName="opacity" values="1;0.4;1" dur="5s" repeatCount="indefinite" />
</circle>
</g>
<!-- Shooting Star -->
<path d="M 0 0 L 100 100" stroke="white" stroke-width="2" stroke-linecap="round" opacity="0">
<animate attributeName="d" values="M 0 0 L 100 100; M 800 200 L 900 300" dur="4s" repeatCount="indefinite" begin="0s" />
<animate attributeName="opacity" values="0;1;0" dur="4s" repeatCount="indefinite" begin="0s" />
</path>
<!-- Moon -->
<circle cx="650" cy="120" r="50" fill="#fff" />
<circle cx="650" cy="120" r="70" fill="url(#moonGlow)" />
<!-- Distant Hills -->
<path d="M 0 600 Q 200 400 400 500 T 800 450 L 800 600 Z" fill="#1a1a3a" />
<path d="M 0 600 Q 150 450 300 550 T 600 500 T 800 550 L 800 600 Z" fill="#25254a" />
<!-- Fox -->
<g transform="translate(300, 420)">
<!-- Tail -->
<path d="M 50 80 Q 120 50 130 100 Q 140 150 110 160 Q 80 170 50 130 Z" fill="#d35400">
<animateTransform attributeName="transform" type="rotate" values="-5 50 130; 5 50 130; -5 50 130" dur="3s" repeatCount="indefinite" />
</path>
<path d="M 120 150 Q 140 160 130 165 L 110 160 Z" fill="#fff" />
<!-- Body -->
<ellipse cx="40" cy="100" rx="40" ry="30" fill="#d35400" />
<!-- Head -->
<g transform="translate(30, 40)">
<path d="M -10 20 L 30 20 L 10 -20 Z" fill="#d35400" /> <!-- Snout -->
<polygon points="-15,10 -25,-15 -5,0" fill="#d35400" /> <!-- Ear L -->
<polygon points="25,10 35,-15 15,0" fill="#d35400" /> <!-- Ear R -->
<circle cx="5" cy="5" r="2" fill="#000" /> <!-- Eye -->
</g>
</g>
<!-- Foreground Hill -->
<path d="M 0 600 C 200 400 600 400 800 600 Z" fill="#0f0f2d" />
</svg>