Pure astronomy and geometry on level ground
solar.halowerk.com/shadow-simulator
Pure astronomy and geometry on level ground: sun position by the NOAA method, shadow length as object height divided by the tangent of the sun elevation. Refraction is only applied to sunrise and sunset. Terrain slope, surrounding buildings, vegetation and diffuse light are not modelled, so a point outside the shadow can still be shaded in reality. Times are UTC.
POST
https://solar.halowerk.com/shadow-simulatorUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://solar.halowerk.com/shadow-simulator", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"date":"2026-12-21","lat":52.52,"lon":13.405,"object_height_m":10,"obstacle_bearing_deg":0,"obstacle_distance_m":15,"step_minutes":30}),
});
console.log(await res.json());Example input
{
"date": "2026-12-21",
"lat": 52.52,
"lon": 13.405,
"object_height_m": 10,
"obstacle_bearing_deg": 0,
"obstacle_distance_m": 15,
"step_minutes": 30
}