Interactive Solver
Drag buildings up or down to adjust heights, or use the controls below
Enter heights between 10 and 100, separated by commas. Press Enter or click Apply.
Statistics
Buildings with Sunset View
Adjust the buildings to see which ones can see the sunset...
How to use:
- Buildings are arranged west to east (left to right)
- The sunset is to the west (left side of the chart)
- Buildings highlighted in orange can see the sunset
- A building can see the sunset if all buildings to its left are shorter
- Drag any bar up or down to adjust building heights in real-time
- Use the Reset button to restore default heights
- Use the Randomize button to generate random building heights
- Try different preset scenarios from the dropdown
- Enter custom heights (comma-separated, 10-100) for manual testing