scorecompute✳
← All engines

RUST ENGINE / plan_golden_hour

Golden and blue hour windows in Rust

Compute golden and blue light windows for one UTC day from explicit geometric solar elevation bands, with separate conventional sunrise and sunset crossings.

Open the interactive demonstration ↗Try the live calculation ↗Connect an AI assistant →

How it works

A bounded CPU scan refines solar-elevation crossings and extrema, including grazing windows near midnight. Golden elevation is −4° to +6°; blue is −6° to −4°. Window classification follows the solar centre above an ideal horizon without refraction.

Inputs and units

Provide date_utc as YYYY-MM-DDT00:00:00Z (a UTC day, not a local civil day), latitude −89° to 89° and east-positive longitude −180° to 180°. Years 1900–2100 are accepted.

What the result contains

Sorted UTC millisecond windows, durations, midpoint azimuths when defined, rising/setting direction, period-boundary flags, threshold crossings, daily elevation extrema and numerical diagnostics. Paris and Tromsø examples are reproducible.

Example MCP call

{
  "name": "plan_golden_hour",
  "arguments": {
    "date_utc": "2026-06-21T00:00:00Z",
    "latitude": 48.85,
    "longitude": 2.35
  }
}

Send this tool name and arguments through a connected MCP client. Discover the authoritative input schema with tools/list.

Execution and availability

ScoreCompute exposes this tool through MCP Streamable HTTP. Rust computation runs on a connected worker; the public website and MCP gateway run separately. Among these fifteen scientific tools, CUDA is implemented for simulate_pi; the other engines currently run on CPU. The separate contributor pilot has its own fixed integer Monte Carlo workload. Requests are bounded and concurrent work may be refused when capacity is occupied.

Record inputs, assumptions and returned provenance when sharing a result. The public observatory displays software client names and tool activity, without publishing calculation arguments or results.

Explore another engine →Agent-readable overview ↗