Analog Clock Maker
Design and customize a real-time analog clock with hands, numerals, colors, and styles. Export as PNG. 10 built-in presets.
About
An analog clock face communicates time through the angular displacement of rotating hands. The hour hand completes one full revolution (360°) every 12 hours, the minute hand every 60 minutes, and the second hand every 60 seconds. Misconfigured hand lengths or poorly chosen numeral spacing creates ambiguity at oblique viewing angles, particularly for wall-mounted clocks where parallax error compounds with distance. This tool renders a real-time clock on an HTML Canvas element, computing hand angles from the system clock using standard trigonometric projection. You control geometry (hand width, length ratios), aesthetics (face color, border, markers, numeral format), and behavior (sweep vs. tick second hand). Exported images are rasterized at up to 4× resolution for print-quality output.
Limitations: the rendered clock reflects your device’s system time and inherits its accuracy. NTP drift on consumer hardware is typically < 50ms, which is invisible on an analog dial. The export captures a single static frame. Pro tip: set the time to 10:10 before exporting, as this classic position frames the logo area and creates a visually balanced composition used by watchmakers worldwide.
Formulas
Each clock hand angle is computed from the current time components. The coordinate system places 0° at the 12 o’clock position and increases clockwise.
For smooth sweep mode, the second value includes the millisecond fraction: ssmooth = s + ms1000. Canvas coordinates use sin and cos with a −π/2 offset to align 0° to the top:
Where cx, cy is the center, r is the hand length, and θ is the angle in radians. Hand widths are expressed as fractions of the clock radius to maintain proportional scaling across export resolutions.
Reference Data
| Preset | Face | Border | Hour Hand | Minute Hand | Second Hand | Numerals | Markers | Style Note |
|---|---|---|---|---|---|---|---|---|
| Classic | #FFFFF0 | #2C2C2C | #1A1A1A | #1A1A1A | #C0392B | Arabic | Lines | Traditional wall clock |
| Minimal | #FFFFFF | #E0E0E0 | #333333 | #333333 | #999999 | None | Dots | Scandinavian design |
| Vintage | #FDF5E6 | #8B7355 | #5C4033 | #5C4033 | #B8860B | Roman | Lines | Antique brass tone |
| Bauhaus | #F5F5F5 | #000000 | #000000 | #000000 | #FF4500 | Arabic | None | Geometric modernism |
| Pastel | #FFF0F5 | #D4A5A5 | #7C9CBF | #7C9CBF | #F4A261 | Arabic | Dots | Soft muted palette |
| Neon | #1A1A2E | #E94560 | #0F3460 | #16213E | #E94560 | Arabic | Lines | Dark face, vivid hands |
| Swiss Railway | #FFFFFF | #333333 | #1A1A1A | #1A1A1A | #EE2A24 | Arabic | Lines | Mondaine-inspired |
| Retro | #FAE3D9 | #BB8A52 | #6B4226 | #6B4226 | #D35400 | Arabic | Dots | 1970s warm tones |
| Elegant | #F8F8FF | #4A4A4A | #2F2F2F | #2F2F2F | #C8A951 | Roman | Lines | Dress watch aesthetic |
| Marine | #F0F8FF | #003366 | #003366 | #003366 | #CC0000 | Arabic | Lines | Nautical instrument |
| Hand angle reference | ||||||||
| Hour hand | 0.5°/min | 30° per hour + 0.5° per minute | ||||||
| Minute hand | 6°/min | 360° ÷ 60 = 6° per minute | ||||||
| Second hand | 6°/sec | 360° ÷ 60 = 6° per second | ||||||
| 12-hour cycle | 360° | Hour hand full rotation | ||||||
| 60-min cycle | 360° | Minute hand full rotation | ||||||