Shadow Calculator

back to the calculator

What this tool does

ShadowCalculator.com (also referred to as just Shadow Calculator on this website) is a browser-based tool that shows how shadow length and direction change with date, time, latitude, and object height.

The app uses the open-source library SunCalc for solar position calculations, Three.js for 3D visualization, Leaflet.js for interactive maps, and CARTO (powered by OpenStreetMap data) for map tiles and rendering. Location search uses Nominatim geocoding via Leaflet Control Geocoder. All shadow computations happen locally on your device.

Scientific assumptions

Disclaimer

This is a truly vibe coded site with no guarantee of functionality or long term maintenance.

This site is provided for informational and educational purposes only. Use it as a quick reference for shadow length and direction, but not for navigation, engineering certification, safety-critical design, or any use where precise solar position or shadow length is required.

Privacy & Data Usage

What Stays Local (Private)

The following data never leaves your device:

What Is Sent to Third Parties

The interactive map feature requires loading resources from external services:

No Analytics or Tracking

This site does not use Google Analytics, advertising cookies, or any tracking scripts. We do not collect, store, or sell your personal information.

Open-source license

The source code for this site is intended to be open-sourced on GitHub under the MIT License. See the LICENSE file in the repository for details.

Questions or comments? See the project repository on GitHub.