Zum Inhalt
HALOWERK

Solarwerk

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-simulator

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
latnumberJa
lonnumberJa
datestringJaDay as YYYY-MM-DD.
object_height_mnumberJa
step_minutesintegerNein
obstacle_distance_mnumberNeinDistance of the point of interest from the object.
obstacle_bearing_degnumberNeinCompass bearing from the object to that point.
bearing_tolerance_degnumberNein
max_shadow_length_mnumberNeinShadow lengths above this are reported as capped.
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "required": [
    "lat",
    "lon",
    "date",
    "object_height_m"
  ],
  "additionalProperties": false,
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "date": {
      "type": "string",
      "description": "Day as YYYY-MM-DD."
    },
    "object_height_m": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 1000
    },
    "step_minutes": {
      "type": "integer",
      "minimum": 5,
      "maximum": 60,
      "default": 30
    },
    "obstacle_distance_m": {
      "type": "number",
      "minimum": 0.01,
      "maximum": 10000,
      "description": "Distance of the point of interest from the object."
    },
    "obstacle_bearing_deg": {
      "type": "number",
      "minimum": 0,
      "maximum": 360,
      "description": "Compass bearing from the object to that point."
    },
    "bearing_tolerance_deg": {
      "type": "number",
      "minimum": 1,
      "maximum": 90,
      "default": 10
    },
    "max_shadow_length_m": {
      "type": "number",
      "minimum": 1,
      "maximum": 100000,
      "default": 500,
      "description": "Shadow lengths above this are reported as capped."
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "lat": -90,
  "lon": -180,
  "date": "beispiel",
  "object_height_m": 0.01,
  "step_minutes": 30,
  "bearing_tolerance_deg": 10,
  "max_shadow_length_m": 500
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →