An open API service indexing awesome lists of open source software.

https://github.com/edisedis777/slow-weather

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, and rain, snow, and clouds.
https://github.com/edisedis777/slow-weather

landscape slow slow-weather weather

Last synced: 4 months ago
JSON representation

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, and rain, snow, and clouds.

Awesome Lists containing this project

README

          

# Slow-Weather
[![Visual Studio Code](https://custom-icon-badges.demolab.com/badge/Visual%20Studio%20Code-0078d7.svg?logo=vsc&logoColor=white)](#)
[![HTML](https://img.shields.io/badge/HTML-%23E34F26.svg?logo=html5&logoColor=white)](#)
[![CSS](https://img.shields.io/badge/CSS-1572B6?logo=css3&logoColor=fff)](#)
[![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?logo=javascript&logoColor=000)](#)
[![Markdown](https://img.shields.io/badge/Markdown-%23000000.svg?logo=markdown&logoColor=white)](#)

**🌤️ 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](https://open-meteo.com/) 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.

Screenshot 2025-02-21 at 21 59 56

### 🎉 Demo:
Try it Live: [Here](https://edisedis777.github.io/slow-weather/)

### ☁️ Features
- **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.

### 💽 Installation:
**Clone the Repository**:
bash
git clone
cd weather-landscape
### Open the Project:
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

### ⌨️ Usage
Enter a City:
Type a city name (e.g., "London", "New York") into the input field and press Enter or click "Show Weather".

### 🗺️ Explore the Landscape:
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.

### 🦜 Interact:
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.

### ⚙️ How It Works
Data Source: Uses Open-Meteo’s free weather API for current and hourly forecast data **(no API key required).**

Tech Stack:
#### HTML: Structure for the landscape and UI elements.
#### CSS: Styling with animations (swaying leaf, drifting clouds, falling precipitation).
#### JavaScript: Fetches weather data, updates the SVG terrain, and manages dynamic effects.

### 🥡 Key Components:
SVG terrain with integrated time axis.
Temperature-driven precipitation and color changes.

### 📔 Contributing
Contributions are welcome!

### 🎥 Credits
- Weather Data: Open-Meteo
- Inspiration: Adapted from the concept of weather_landscape by lds133, reimagined as a web-based visualization.

### ⚖️ License
Distributed under the GNU Affero General Public License v3.0 License. See `LICENSE` for more information.

[Back To Top ⬆️](#Slow-Weather)