• Updated 19 Nov, 14:26 UTC
  • Next run 20 Nov, 05:17 UTCNext 20 Nov 05:17
  • Last 7 days: 9 new models · 69 runs7 d: 9 models · 69 runs
Wristwatch that shows the current time

Hy4 flashTencent

Network offOpen alone (new tab)

Run details

Model
tencent/hy4-flash
Route
OpenRouter API, one user message
Served by
Tencent
Effort
the model's default
Limits
60 min · 65,536 output tokens (the model's limit)
Date
17 Nov 2026
Time
88 s
Size
13 kB
Tokens
96 in, 23,086 out (18,364 of them thinking)
List price
$0.003 at today's price ($0.035 in / $0.141 out per M)
Paid
$0.003

Raw files: output · meta.json

Exact 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

13 kB 482 lines Raw

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Luxury Mechanical Watch</title>
  <style>
    * {
      box-sizing: border-box;
    }

    body {
      margin: 0;
      padding: 0;
      height: 100vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background: radial-gradient(circle at 50% 50%, #3b4252 0%, #2e3440 40%, #15181d 100%);
      overflow: hidden;
      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    }

    .scale-wrapper {
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
    }

    @media (max-width: 600px) {
      .scale-wrapper { transform: scale(0.75); }
    }
    @media (max-width: 450px) {
      .scale-wrapper { transform: scale(0.55); }
    }
    @media (max-height: 750px) {
      .scale-wrapper { transform: scale(0.65); }
    }
    @media (max-height: 550px) {
      .scale-wrapper { transform: scale(0.5); }
    }

    /* Strap */
    .strap {
      width: 220px;
      height: 200px;
      background: 
        linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(30,30,30,0.9) 15%, rgba(60,60,60,0.9) 50%, rgba(30,30,30,0.9) 85%, rgba(0,0,0,0.9) 100%),
        repeating-linear-gradient(to bottom, #111, #111 2px, #181818 2px, #181818 4px);
      background-blend-mode: overlay;
      position: relative;
      box-shadow: 
        inset 0 15px 30px rgba(0,0,0,0.9),
        inset 0 -15px 30px rgba(0,0,0,0.9);
      z-index: 1;
    }
    .strap::before, .strap::after {
      content: '';
      position: absolute;
      top: 5px; bottom: 5px;
      width: 2px;
      border-left: 2px dashed rgba(139, 115, 85, 0.5);
    }
    .strap::before { left: 18px; }
    .strap::after { right: 18px; border-left: none; border-right: 2px dashed rgba(139, 115, 85, 0.5); }
    .strap.top {
      border-bottom-left-radius: 20px;
      border-bottom-right-radius: 20px;
      margin-bottom: -20px;
    }
    .strap.bottom {
      border-top-left-radius: 20px;
      border-top-right-radius: 20px;
      margin-top: -20px;
    }

    /* Watch Container & Lugs */
    .watch-container {
      position: relative;
      width: 400px;
      height: 400px;
      z-index: 2;
    }
    .lug {
      position: absolute;
      width: 50px;
      height: 75px;
      background: linear-gradient(to right, #e6e6e6, #999, #f5f5f5, #808080, #e6e6e6);
      box-shadow: 0 15px 20px rgba(0,0,0,0.7);
      z-index: -1;
    }
    .lug.top-left { top: -25px; left: 70px; border-radius: 12px 12px 0 0; transform: rotate(15deg); }
    .lug.top-right { top: -25px; right: 70px; border-radius: 12px 12px 0 0; transform: rotate(-15deg); }
    .lug.bottom-left { bottom: -25px; left: 70px; border-radius: 0 0 12px 12px; transform: rotate(-15deg); }
    .lug.bottom-right { bottom: -25px; right: 70px; border-radius: 0 0 12px 12px; transform: rotate(15deg); }

    /* Crown */
    .crown {
      position: absolute;
      right: -20px;
      top: 50%;
      transform: translateY(-50%);
      width: 26px;
      height: 64px;
      background: linear-gradient(to right, #888, #e6e6e6 30%, #b3b3b3 70%, #555);
      border-radius: 4px 8px 8px 4px;
      box-shadow: 5px 5px 12px rgba(0,0,0,0.6);
      z-index: -1;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      padding: 5px 0;
    }
    .crown div {
      width: 100%;
      height: 2px;
      background: rgba(0,0,0,0.4);
      box-shadow: 0 1px rgba(255,255,255,0.4);
    }

    /* Watch Case */
    .watch {
      position: relative;
      width: 400px;
      height: 400px;
      border-radius: 50%;
      background: conic-gradient(
        from 0deg,
        #ffffff 0deg, #cccccc 30deg, #ffffff 60deg, #999999 120deg,
        #ffffff 180deg, #cccccc 210deg, #ffffff 240deg, #999999 300deg, #ffffff 360deg
      );
      padding: 24px;
      box-sizing: border-box;
      box-shadow: 
        0 30px 60px rgba(0,0,0,0.7), 
        0 0 20px rgba(0,0,0,0.6) inset,
        0 5px 10px rgba(255,255,255,0.5) inset;
      z-index: 2;
    }
    .watch::before {
      content: '';
      position: absolute;
      top: 12px; left: 12px; right: 12px; bottom: 12px;
      border-radius: 50%;
      background: conic-gradient(
        from 45deg,
        #999999 0deg, #ffffff 45deg, #999999 90deg, #ffffff 135deg,
        #999999 180deg, #ffffff 225deg, #999999 270deg, #ffffff 315deg, #999999 360deg
      );
      z-index: 0;
      box-shadow: 0 2px 5px rgba(0,0,0,0.6);
    }

    /* Dial */
    .dial {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: 
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.4) 80%, rgba(0,0,0,0.9) 100%),
        repeating-conic-gradient(from 0deg, #0a1f33 0deg, #112840 1deg, #0a1f33 2deg);
      box-shadow: inset 0 0 25px rgba(0,0,0,0.9);
      z-index: 1;
      overflow: hidden;
    }
    .dial::before {
      content: '';
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
      background-size: 3px 3px;
      border-radius: 50%;
      z-index: 1;
      pointer-events: none;
    }
    .dial::after {
      content: '';
      position: absolute;
      top: 26px; left: 26px; right: 26px; bottom: 26px;
      border-radius: 50%;
      border: 1px solid rgba(212, 175, 55, 0.25);
      pointer-events: none;
      z-index: 1;
    }

    /* Dial Elements */
    .brand {
      position: absolute;
      top: 24%;
      left: 50%;
      transform: translateX(-50%);
      color: #e8c56a;
      font-family: "Georgia", serif;
      font-size: 18px;
      text-align: center;
      letter-spacing: 3px;
      text-shadow: 0 1px 1px rgba(0,0,0,0.9), 0 -1px 1px rgba(255,255,255,0.2);
      line-height: 1.4;
      white-space: nowrap;
      z-index: 3;
    }
    .brand span {
      font-size: 9px;
      font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
      letter-spacing: 5px;
      color: #d4af37;
    }
    .automatic {
      position: absolute;
      bottom: 22%;
      left: 50%;
      transform: translateX(-50%);
      color: #d4af37;
      font-size: 9px;
      letter-spacing: 3px;
      text-shadow: 0 1px 1px rgba(0,0,0,0.8);
      z-index: 3;
    }
    .swiss-made {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      color: #d4af37;
      font-size: 7px;
      letter-spacing: 2px;
      z-index: 3;
    }

    /* Date Window */
    .date-window {
      position: absolute;
      top: 50%;
      left: calc(50% + 80px);
      transform: translateY(-50%);
      width: 46px;
      height: 34px;
      background: #fdfdfd;
      border: 2px solid #b3b3b3;
      box-shadow: 
        inset 2px 2px 6px rgba(0,0,0,0.4),
        0 1px 1px rgba(255,255,255,0.1);
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 20px;
      color: #111;
      font-weight: bold;
      overflow: hidden;
      z-index: 3;
    }
    .date-window span {
      text-shadow: 0 1px 0 rgba(0,0,0,0.1);
    }

    /* Markers */
    .markers {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 2;
      pointer-events: none;
    }
    .marker {
      position: absolute;
      top: 8px;
      left: 50%;
      width: 2px;
      height: 6px;
      background: #d4af37;
      margin-left: -1px;
      transform-origin: 50% 168px;
    }
    .marker.major {
      width: 4px;
      height: 14px;
      margin-left: -2px;
      background: linear-gradient(to right, #b8860b, #ffd700, #b8860b);
      box-shadow: 0 0 3px rgba(0,0,0,0.6);
    }
    .marker.twelve {
      width: 12px;
      height: 18px;
      margin-left: -6px;
      background: linear-gradient(to right, #b8860b, #ffd700 20%, #b8860b 50%, #ffd700 80%, #b8860b);
      box-shadow: 0 0 3px rgba(0,0,0,0.6);
    }

    /* Hands */
    .hands {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 4;
      pointer-events: none;
    }
    .hand {
      position: absolute;
      bottom: 50%;
      left: 50%;
      transform-origin: 50% 100%;
    }
    .hour {
      width: 14px;
      height: 80px;
      margin-left: -7px;
      clip-path: polygon(50% 0%, 100% 30%, 70% 100%, 30% 100%, 0% 30%);
      background: linear-gradient(90deg, #aa7c11, #fff8dc 50%, #aa7c11);
      filter: drop-shadow(2px 4px 3px rgba(0,0,0,0.5));
    }
    .minute {
      width: 10px;
      height: 120px;
      margin-left: -5px;
      clip-path: polygon(50% 0%, 100% 20%, 70% 100%, 30% 100%, 0% 20%);
      background: linear-gradient(90deg, #aa7c11, #fff8dc 50%, #aa7c11);
      filter: drop-shadow(2px 4px 3px rgba(0,0,0,0.5));
    }
    .second {
      width: 2px;
      height: 145px;
      margin-left: -1px;
      background: #d4af37;
      filter: drop-shadow(1px 2px 2px rgba(0,0,0,0.6));
    }
    .second::after {
      content: '';
      position: absolute;
      bottom: -25px;
      left: -2px;
      width: 6px;
      height: 25px;
      background: #d4af37;
      border-radius: 0 0 3px 3px;
    }
    .second .circle {
      position: absolute;
      bottom: -30px;
      left: -5px;
      width: 12px;
      height: 12px;
      border: 2px solid #d4af37;
      border-radius: 50%;
      box-sizing: border-box;
    }
    .pin {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 14px;
      height: 14px;
      background: radial-gradient(circle at 30% 30%, #fff8dc, #aa7c11);
      border-radius: 50%;
      transform: translate(-50%, -50%);
      z-index: 5;
      box-shadow: 0 2px 5px rgba(0,0,0,0.7);
    }

    /* Crystal / Glass */
    .glass {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      border-radius: 50%;
      background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 40%),
        radial-gradient(circle at 70% 80%, rgba(100,150,255,0.04) 0%, rgba(255,255,255,0) 40%);
      box-shadow: inset 0 0 15px rgba(255,255,255,0.1), inset 0 0 40px rgba(0,0,0,0.4);
      pointer-events: none;
      z-index: 20;
    }
    .cyclops {
      position: absolute;
      top: 50%;
      left: calc(50% + 78px);
      transform: translateY(-50%);
      width: 50px;
      height: 38px;
      border-radius: 8px;
      background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.02) 40%, rgba(255,255,255,0) 60%);
      border: 1px solid rgba(255,255,255,0.1);
      box-shadow: 0 3px 6px rgba(0,0,0,0.6), inset 0 0 6px rgba(255,255,255,0.15);
      pointer-events: none;
      z-index: 21;
    }
  </style>
</head>
<body>

  <div class="scale-wrapper">
    <div class="strap top"></div>
    
    <div class="watch-container">
      <div class="lug top-left"></div>
      <div class="lug top-right"></div>
      <div class="lug bottom-left"></div>
      <div class="lug bottom-right"></div>
      
      <div class="crown">
        <div></div><div></div><div></div><div></div><div></div><div></div>
      </div>
      
      <div class="watch">
        <div class="dial">
          <div class="brand">AURELIUS<br><span>CHRONOMETER</span></div>
          <div class="automatic">AUTOMATIC</div>
          <div class="swiss-made">SWISS MADE</div>
          
          <div class="date-window"><span id="date">1</span></div>
          <div class="markers" id="markers"></div>
          
          <div class="hands">
            <div id="hour-hand" class="hand hour"></div>
            <div id="minute-hand" class="hand minute"></div>
            <div id="second-hand" class="hand second">
              <div class="circle"></div>
            </div>
          </div>
          
          <div class="pin"></div>
          <div class="glass"></div>
          <div class="cyclops"></div>
        </div>
      </div>
    </div>
    
    <div class="strap bottom"></div>
  </div>

  <script>
    // Generate hour markers
    const markersContainer = document.getElementById('markers');
    for (let i = 0; i < 60; i++) {
      if (i === 15) continue; // Skip 3 o'clock for the date window
      
      const marker = document.createElement('div');
      marker.className = 'marker';
      
      if (i % 5 === 0) {
        marker.classList.add('major');
      }
      if (i === 0) {
        marker.classList.add('twelve');
      }
      
      marker.style.transform = `rotate(${i * 6}deg)`;
      markersContainer.appendChild(marker);
    }

    // Watch update logic
    const hourHand = document.getElementById('hour-hand');
    const minuteHand = document.getElementById('minute-hand');
    const secondHand = document.getElementById('second-hand');
    const dateEl = document.getElementById('date');

    function updateWatch() {
      const now = new Date();
      const ms = now.getMilliseconds();
      const sec = now.getSeconds();
      const min = now.getMinutes();
      const hr = now.getHours();

      // Calculate smooth sweeping angles
      const secDeg = (sec + ms / 1000) * 6;
      const minDeg = (min + sec / 60 + ms / 60000) * 6;
      const hrDeg = (hr % 12 + min / 60 + sec / 3600) * 30;

      secondHand.style.transform = `rotate(${secDeg}deg)`;
      minuteHand.style.transform = `rotate(${minDeg}deg)`;
      hourHand.style.transform = `rotate(${hrDeg}deg)`;
      
      dateEl.innerText = now.getDate();
      
      requestAnimationFrame(updateWatch);
    }

    // Start animation loop
    requestAnimationFrame(updateWatch);
  </script>
</body>
</html>

Compare with

Hy4 flash: other attempts