🌤️ Slow Weather is an interactive web application that visualizes weather data as a dynamic landscape. Built with HTML, CSS, and JavaScript, it fetches real-time weather information from the Open-Meteo API and transforms it into a scenic display featuring a terrain shaped by hourly temperatures, a swaying leaf indicating wind speed, and atmospheric effects like rain, snow, and clouds.
Try it Live: Here
- Dynamic Terrain: The landscape’s height varies with hourly temperature data over a 24-hour period.
- Weather Effects:
- Raindrops or snowflakes fall based on precipitation levels and temperature (rain if > 0°C, snow if < 0°C).
- Clouds drift across the sky proportional to cloud cover.
- Day/night sky transitions.
- Time Axis: Integrated at the terrain’s base, showing 6-hour intervals (00:00, 06:00, 12:00, 18:00, 24:00).
- Temperature Toggle: Switch between Celsius and Fahrenheit with a button anchored to the terrain.
- Responsive Design: Rounded corners and a clean layout adapt to various screen sizes.
Clone the Repository: bash git clone cd weather-landscape
No dependencies required! Simply open index.html in a modern web browser (e.g., Chrome, Firefox). Alternatively, serve it locally using a tool like Live Server in VS Code: bash npx live-server
Enter a City: Type a city name (e.g., "London", "New York") into the input field and press Enter or click "Show Weather".
Observe the terrain shaping based on the city’s hourly temperature forecast. Watch the leaf sway with wind speed, and note precipitation effects (rain/snow). Toggle between °C and °F using the button at the terrain’s base.
The sun/moon adjusts with day/night status, and clouds reflect current cloud cover. The time axis aligns with the terrain’s 24-hour temperature profile. Zen mode for a distraction-free experience.
Data Source: Uses Open-Meteo’s free weather API for current and hourly forecast data (no API key required).
Tech Stack:
SVG terrain with integrated time axis. Temperature-driven precipitation and color changes.
Contributions are welcome!
- Weather Data: Open-Meteo
- Inspiration: Adapted from the concept of weather_landscape by lds133, reimagined as a web-based visualization.
Distributed under the GNU Affero General Public License v3.0 License. See LICENSE for more information.