• Updated 3 Dec, 05:00 UTC
  • Next run 4 Dec, 05:17 UTCNext 4 Dec 05:17
  • Last 7 days: 4 new models · 73 runs7 d: 4 models · 73 runs
Wristwatch that shows the current time

Flint 1.1Recursive

Network offOpen alone (new tab)

Run details

Model
recursive/flint-v1.1:free
Route
OpenRouter API
Served by
Recursive
Effort
model default
Limits
60 min · 235,929 output tokens (model max)
Date
2 Dec 2026
Time
3 min 4 s
Size
6.7 kB
Tokens
78 in, 17,947 out (14,148 thinking)
List price
free at today's price (free route)
Paid
$0 (free route)

Raw: output · meta.json

Prompt

Draw a mechanical wristwatch that shows the current local time, with a sweeping seconds hand and a date window. Make it look expensive.

It must be one complete, self-contained HTML file: inline all CSS and JavaScript, and make no network requests of any kind (no CDNs, web fonts or remote images). Reply with the file in a single ```html code block.

Source

6.7 kB 188 lines Raw

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Mechanical Wristwatch</title>
<style>
  * { box-sizing: border-box; }
  body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 30%, #1a1a2e, #0f0f1a);
    font-family: 'Georgia', serif;
  }
  .scene { text-align: center; }
  .watch {
    width: 400px;
    height: 400px;
    margin: 0 auto;
    background: linear-gradient(145deg, #2c2c2c, #111);
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8), inset 0 0 0 2px #444;
  }
  svg { width: 100%; height: 100%; display: block; }
  .hand { fill: none; stroke-linecap: round; }
  #hourHand { stroke: #d4af37; stroke-width: 6; }
  #minuteHand { stroke: #c0c0c0; stroke-width: 4; }
  #secondHand { stroke: #e74c3c; stroke-width: 2; }
  #centerCap { fill: #d4af37; }
  #dateWindow rect { fill: #111; stroke: #d4af37; stroke-width: 1; }
  #dateWindow text { fill: #d4af37; font-family: 'Georgia', serif; font-size: 14px; }
</style>
</head>
<body>
<div class="scene">
  <div class="watch">
    <svg id="watch" viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg">
      <defs>
        <linearGradient id="caseGrad" x1="0%" y1="0%" x2="100%" y2="100%">
          <stop offset="0%" stop-color="#3a3a3a"/>
          <stop offset="50%" stop-color="#1a1a1a"/>
          <stop offset="100%" stop-color="#0a0a0a"/>
        </linearGradient>
        <linearGradient id="bezelGrad" x1="0%" y1="0%" x2="100%" y2="100%">
          <stop offset="0%" stop-color="#e0e0e0"/>
          <stop offset="50%" stop-color="#b0b0b0"/>
          <stop offset="100%" stop-color="#808080"/>
        </linearGradient>
        <radialGradient id="dialGrad" cx="50%" cy="40%" r="70%">
          <stop offset="0%" stop-color="#fffdf5"/>
          <stop offset="100%" stop-color="#e8e0d0"/>
        </radialGradient>
        <radialGradient id="glassGrad" cx="50%" cy="50%" r="50%">
          <stop offset="0%" stop-color="rgba(255,255,255,0.15)"/>
          <stop offset="100%" stop-color="rgba(255,255,255,0)"/>
        </radialGradient>
      </defs>

      <!-- Outer case -->
      <circle cx="200" cy="200" r="190" fill="url(#caseGrad)" stroke="#000" stroke-width="2"/>
      <!-- Bezel -->
      <circle cx="200" cy="200" r="180" fill="url(#bezelGrad)" stroke="#666" stroke-width="1"/>
      <!-- Bezel inner edge -->
      <circle cx="200" cy="200" r="172" fill="none" stroke="#555" stroke-width="1"/>

      <!-- Crown at 12 -->
      <circle cx="200" cy="30" r="10" fill="url(#bezelGrad)" stroke="#555" stroke-width="1"/>
      <circle cx="200" cy="30" r="4" fill="#888"/>

      <!-- Dial -->
      <circle cx="200" cy="200" r="150" fill="url(#dialGrad)" stroke="#bbb" stroke-width="1"/>

      <!-- Minute ticks and hour numbers will be generated -->
      <g id="minuteTicks"></g>
      <g id="hourNumbers"></g>

      <!-- Hands -->
      <g id="hands" transform="translate(200,200)">
        <line id="hourHand" x1="0" y1="0" x2="0" y2="-70" stroke-linecap="round"/>
        <line id="minuteHand" x1="0" y1="0" x2="0" y2="-90" stroke-linecap="round"/>
        <line id="secondHand" x1="0" y1="0" x2="0" y2="-110" stroke-linecap="round"/>
        <circle id="centerCap" r="8" cy="0" cx="0"/>
      </g>

      <!-- Date window at 3 o'clock -->
      <g id="dateWindow" transform="translate(340,200)">
        <rect x="-12" y="-12" width="24" height="24" rx="4" ry="4"/>
        <text id="dateWindowText" x="0" y="6" text-anchor="middle">--</text>
      </g>

      <!-- Glass -->
      <circle cx="200" cy="200" r="150" fill="url(#glassGrad)" pointer-events="none"/>
    </svg>
  </div>
</div>

<script>
  // Generate minute ticks and hour numbers
  function generateTicks() {
    const cx = 200, cy = 200;
    const minuteGroup = document.getElementById('minuteTicks');
    const hourGroup = document.getElementById('hourNumbers');

    // Minute ticks
    for (let i = 0; i < 60; i++) {
      const angle = i * 6;
      const r1 = 130;
      const r2 = (i % 5 === 0) ? 145 : 140;
      const x1 = cx + r1 * Math.sin(angle * Math.PI / 180);
      const y1 = cy - r1 * Math.cos(angle * Math.PI / 180);
      const x2 = cx + r2 * Math.sin(angle * Math.PI / 180);
      const y2 = cy - r2 * Math.cos(angle * Math.PI / 180);
      const line = document.createElementNS('http://www.w3.org/2000/svg', 'line');
      line.setAttribute('x1', x1);
      line.setAttribute('y1', y1);
      line.setAttribute('x2', x2);
      line.setAttribute('y2', y2);
      line.setAttribute('stroke', '#999');
      line.setAttribute('stroke-width', i % 5 === 0 ? 2 : 1);
      line.setAttribute('stroke-linecap', 'round');
      minuteGroup.appendChild(line);
    }

    // Hour numbers
    for (let i = 1; i <= 12; i++) {
      const angle = i * 30;
      const r = 105;
      const x = cx + r * Math.sin(angle * Math.PI / 180);
      const y = cy - r * Math.cos(angle * Math.PI / 180);
      const text = document.createElementNS('http://www.w3.org/2000/svg', 'text');
      text.setAttribute('x', x);
      text.setAttribute('y', y);
      text.setAttribute('text-anchor', 'middle');
      text.setAttribute('dominant-baseline', 'middle');
      text.setAttribute('font-size', 14);
      text.setAttribute('fill', '#333');
      text.textContent = i;
      hourGroup.appendChild(text);
    }
  }

  // Elements
  const hourHand = document.getElementById('hourHand');
  const minuteHand = document.getElementById('minuteHand');
  const secondHand = document.getElementById('secondHand');
  const dateWindowText = document.getElementById('dateWindowText');

  let start = new Date(0);

  function updateClock() {
    const now = new Date();

    // Update date window (day of month)
    const day = now.getDate();
    if (dateWindowText) dateWindowText.textContent = day;

    // Compute angles continuously
    const elapsed = now - start;
    const totalSeconds = Math.floor(elapsed / 1000) % 86400;
    const hours = Math.floor(totalSeconds / 3600) % 12;
    const minutes = Math.floor((totalSeconds % 3600) / 60);
    const seconds = totalSeconds % 60;
    const fraction = (elapsed % 1000) / 1000;

    const totalMinutes = hours * 60 + minutes + seconds / 60 + fraction / 60;
    const hourAngle = (hours + minutes / 60 + seconds / 3600 + fraction / 3600) * 30;
    const minuteAngle = (totalMinutes % 60) * 6;
    const secondAngle = (seconds + fraction) * 6;

    // Update hands
    hourHand.setAttribute('transform', `rotate(${hourAngle})`);
    minuteHand.setAttribute('transform', `rotate(${minuteAngle})`);
    secondHand.setAttribute('transform', `rotate(${secondAngle})`);

    requestAnimationFrame(updateClock);
  }

  // Initial call
  updateClock();

  // Generate ticks after window load
  window.addEventListener('load', generateTicks);
</script>
</body>
</html>

Compare

Other runs