All digital projects

Golden Hour Calculator

Digital Tool ·

Launch Golden Hour Calculator ↗

A photography planning calculator for Golden Hour, Blue Hour, sunrise, and sunset across Taiwan. Enter any location and target date to precisely forecast optimal shooting windows, seamlessly combining Central Weather Administration forecasts and tide tables for complete outdoor location scouting.

Feature Highlights

  • Dawn and Dusk Time Calculations — Sunrise, sunset, Golden Hour, Blue Hour, and civil, nautical, and astronomical twilights
  • Interactive Taiwan Map Point Picker — Leaflet map click-to-pin or search covering every township and district across Taiwan
  • Weather Forecast Integration — CWA 36-hour meteorological projections including temperature, precipitation probability, and wind velocity
  • Tide Predictions — Essential for coastal photography: accurate high-tide and low-tide schedules
  • Glassmorphism UI — Dawn-to-dusk gradient canvas with frosted glass cards in a fully responsive layout

Technical Architecture

golden-hour-calculator/
├── golden-hour.html      # Main application page (single-file bundle)
├── vendor/               # Self-hosted Leaflet + SunCalc (zero external CDNs)
├── _worker.js            # Cloudflare Pages Worker: secure CWA API proxy
├── _headers              # HTTP security response headers
└── deploy.sh             # One-click deployment script

A pure frontend single-file web application using SunCalc for ephemeris mechanics and Leaflet for geospatial coordinate selection. A Cloudflare Pages Advanced Mode Worker proxies Central Weather Administration APIs, ensuring private API keys never leak to client code. Completely static hosting with zero database overhead.

Data Sources

Have a similar project in mind?

Tell me the purpose and direction, and we will find the right approach together.

Discuss a digital project