Finds when the sun aligns with your street for a perfect sunset view (like Manhattanhenge).
- Enter an address to check for alignment with the sunset (or more specifically, alignment a little before sunset, the last moment the sun is at 50˚)
- Shows street bearing and sun alignment information
- Displays coordinates and next henge date (if there is one)
pip install -r requirements.txtThat's it! Then just run with
python hengefinder.py
To run the web interface:
-
Create a virtual environment with
uv:uv venv
-
Activate the virtual environment:
source .venv/bin/activate -
Install dependencies:
uv pip install -r requirements.txt
-
Run the web app:
python app.py
The web app will be available at http://localhost:8080
Some sample addresses:
211 E 43rd St, NYC(Manhattanhenge location)601-615 E 76th St, Chicago, IL3131 Market St, Philadelphia, PA 19104
For the full mobile experience, download the Hengefinder app at hengefinder.com.
The algorithm searches for dates when the sun's azimuth at 0.5 degrees elevation (shortly before sunset) aligns with the street's bearing.