Run details
- Model
- inclusionai/lingsante-3.1-air-vl
- Route
- OpenRouter API
- Served by
- DeepInfra
- Effort
- model default
- Limits
- 60 min · 32,768 output tokens (model max)
- Date
- 26 Nov 2026
- Time
- 4 min 6 s
- Size
- 8.8 kB
- Tokens
- 97 in, 17,078 out (13,758 thinking)
- List price
- $0.003 at today's price ($0.06 in / $0.18 out per M)
- Paid
- $0.003
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
8.8 kB 229 lines Raw
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mechanical Wristwatch</title>
<style>
html, body {
margin: 0;
height: 100%;
background: #121216;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.watch {
width: min(92vmin, 760px);
position: relative;
}
svg {
width: 100%;
height: auto;
display: block;
}
</style>
</head>
<body>
<div class="watch" role="img" aria-label="Mechanical wristwatch showing the current local time">
<svg id="watch" viewBox="0 0 800 800" preserveAspectRatio="xMidYMid meet" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="caseMetal" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="0.18" stop-color="#e8e8e8"/>
<stop offset="0.42" stop-color="#9a9a9a"/>
<stop offset="0.58" stop-color="#e6e6e6"/>
<stop offset="0.82" stop-color="#6a6a6a"/>
<stop offset="1" stop-color="#c4c4c4"/>
</linearGradient>
<radialGradient id="bezelMetal" cx="0.5" cy="0.5" r="0.5">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="0.35" stop-color="#d0d0d0"/>
<stop offset="0.7" stop-color="#7e7e7e"/>
<stop offset="1" stop-color="#3f3f3f"/>
</radialGradient>
<radialGradient id="dialSunburst" cx="0.5" cy="0.42" r="0.75">
<stop offset="0" stop-color="#fffdf4"/>
<stop offset="0.35" stop-color="#f8f2df"/>
<stop offset="0.7" stop-color="#e6d8b8"/>
<stop offset="1" stop-color="#bca979"/>
</radialGradient>
<linearGradient id="goldFill" x1="0" y1="0" x2="1" y2="1">
<stop offset="0" stop-color="#fff3c2"/>
<stop offset="0.35" stop-color="#f8d97b"/>
<stop offset="0.7" stop-color="#c7923b"/>
<stop offset="1" stop-color="#8f611f"/>
</linearGradient>
<linearGradient id="handMetal" x1="0" y1="1" x2="0" y2="0">
<stop offset="0" stop-color="#6f6f6f"/>
<stop offset="0.5" stop-color="#f2f2f2"/>
<stop offset="1" stop-color="#404040"/>
</linearGradient>
<linearGradient id="secondSteel" x1="0" y1="0" x2="1" y2="0">
<stop offset="0" stop-color="#5d6e7f"/>
<stop offset="0.35" stop-color="#a6c0d7"/>
<stop offset="0.7" stop-color="#465767"/>
<stop offset="1" stop-color="#8ea2b6"/>
</linearGradient>
<radialGradient id="lumeGlow" cx="0.5" cy="0.5" r="0.5">
<stop offset="0" stop-color="#fff8cf"/>
<stop offset="1" stop-color="#f1d98d"/>
</radialGradient>
<linearGradient id="dateFace" x1="0" y1="0" x2="0" y2="1">
<stop offset="0" stop-color="#ffffff"/>
<stop offset="1" stop-color="#e9e9e9"/>
</linearGradient>
<filter id="softShadow" x="-50%" y="-50%" width="200%" height="200%">
<feDropShadow dx="0" dy="8" stdDeviation="10" flood-color="#000000" flood-opacity="0.38"/>
</filter>
<pattern id="perlage" width="22" height="22" patternUnits="userSpaceOnUse">
<circle cx="11" cy="11" r="1.1" fill="#ffffff" fill-opacity="0.14"/>
</pattern>
</defs>
<!-- Case -->
<circle cx="400" cy="400" r="392" fill="url(#caseMetal)" stroke="#242424" stroke-width="6" filter="url(#softShadow)"/>
<!-- Crown -->
<g>
<ellipse cx="740" cy="400" rx="32" ry="62" fill="url(#caseMetal)" stroke="#242424" stroke-width="4"/>
<ellipse cx="740" cy="400" rx="18" ry="40" fill="none" stroke="#5a5a5a" stroke-width="3"/>
</g>
<!-- Bezel -->
<circle cx="400" cy="400" r="366" fill="url(#bezelMetal)" stroke="#181818" stroke-width="5"/>
<!-- Dial -->
<circle cx="400" cy="400" r="330" fill="url(#dialSunburst)"/>
<circle cx="400" cy="400" r="330" fill="url(#perlage)" opacity="0.6"/>
<circle cx="400" cy="400" r="330" fill="none" stroke="#7d6a46" stroke-width="2"/>
<!-- Minute track -->
<circle cx="400" cy="400" r="300" fill="none" stroke="#464646" stroke-width="0.75" opacity="0.55"/>
<!-- Applied indices -->
<g id="indices" stroke="url(#goldFill)" stroke-linecap="round"></g>
<!-- Branding -->
<text x="400" y="455" text-anchor="middle" font-family="Georgia, 'Times New Roman', serif" font-size="22" letter-spacing="3" fill="#3b3b3b" opacity="0.85">AUTOMATIC</text>
<text x="400" y="482" text-anchor="middle" font-family="Georgia, 'Times New Roman', serif" font-size="15" letter-spacing="2" fill="#4a4a4a" opacity="0.8">SWISS MADE</text>
<!-- Date window -->
<g transform="translate(610 400)">
<rect x="-38" y="-20" width="76" height="40" rx="7" fill="url(#dateFace)" stroke="url(#goldFill)" stroke-width="2" filter="url(#softShadow)"/>
<text id="dateText" x="0" y="7" text-anchor="middle" font-family="Georgia, 'Times New Roman', serif" font-size="19" font-weight="bold" fill="#1a1a1a">01</text>
</g>
<!-- Crystal reflections -->
<ellipse cx="330" cy="315" rx="130" ry="70" fill="#ffffff" opacity="0.14" transform="rotate(-28 330 315)"/>
<ellipse cx="480" cy="360" rx="45" ry="18" fill="#ffffff" opacity="0.08" transform="rotate(-18 480 360)"/>
<!-- Hour hand -->
<g id="hourHand" transform="rotate(0 400 400)">
<path d="M400 400 L400 135" stroke="url(#handMetal)" stroke-width="13" stroke-linecap="round"/>
<path d="M400 400 L400 130" stroke="url(#lumeGlow)" stroke-width="5" stroke-linecap="round"/>
</g>
<!-- Minute hand -->
<g id="minuteHand" transform="rotate(0 400 400)">
<path d="M400 400 L400 90" stroke="url(#handMetal)" stroke-width="8" stroke-linecap="round"/>
<path d="M400 400 L400 86" stroke="url(#lumeGlow)" stroke-width="3" stroke-linecap="round"/>
</g>
<!-- Sweeping seconds hand -->
<g id="secondHand" transform="rotate(0 400 400)">
<path d="M400 400 L400 80" stroke="url(#secondSteel)" stroke-width="3" stroke-linecap="round"/>
<path d="M400 400 L400 620" stroke="url(#secondSteel)" stroke-width="3" stroke-linecap="round"/>
<ellipse cx="400" cy="635" rx="10" ry="14" fill="url(#secondSteel)"/>
<circle cx="400" cy="400" r="6" fill="url(#secondSteel)"/>
</g>
<!-- Central pivot -->
<circle cx="400" cy="400" r="14" fill="url(#caseMetal)" stroke="#242424" stroke-width="3" filter="url(#softShadow)"/>
</svg>
</div>
<script>
(function () {
const CX = 400;
const CY = 400;
const svg = document.getElementById('watch');
const indices = document.getElementById('indices');
const hourHand = document.getElementById('hourHand');
const minuteHand = document.getElementById('minuteHand');
const secondHand = document.getElementById('secondHand');
const dateText = document.getElementById('dateText');
// Applied hour markers
for (let i = 0; i < 12; i++) {
const theta = i * 30;
const rad = theta * Math.PI / 180;
const isMajor = i % 3 === 0;
const r1 = isMajor ? 278 : 286;
const r2 = isMajor ? 308 : 300;
const w = isMajor ? 5 : 2.5;
const x1 = CX + r1 * Math.sin(rad);
const y1 = CY - r1 * Math.cos(rad);
const x2 = CX + r2 * Math.sin(rad);
const y2 = CY - r2 * Math.cos(rad);
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', 'url(#goldFill)');
line.setAttribute('stroke-width', w);
line.setAttribute('stroke-linecap', 'round');
indices.appendChild(line);
}
let lastDay = null;
function updateDate(d) {
const day = d.getDate();
if (day !== lastDay) {
dateText.textContent = day;
lastDay = day;
}
}
function render() {
const d = new Date();
const ms =
d.getHours() * 3600000 +
d.getMinutes() * 60000 +
d.getSeconds() * 1000 +
d.getMilliseconds();
const h = (ms % 43200000) / 120000; // 12-hour cycle
const m = (ms % 3600000) / 10000; // 60-minute cycle
const s = (ms % 60000) / 166.6666666666667; // 60-second cycle
hourHand.setAttribute('transform', `rotate(${h} 400 400)`);
minuteHand.setAttribute('transform', `rotate(${m} 400 400)`);
secondHand.setAttribute('transform', `rotate(${s} 400 400)`);
updateDate(d);
requestAnimationFrame(render);
}
updateDate(new Date());
requestAnimationFrame(render);
})();
</script>
</body>
</html>

