A dynamic, canvas-based weather visualization that fetches real-time weather and time data from wttr.in and automatically detects the userโs city via ipapi.co.
- ๐จ Dynamic background that changes with weather & time (day/night).
- ๐ Real sun & moon rendering with accurate positioning.
- ๐ Moon phases synced with live data.
- โญ Stars & shooting stars at night, with smooth fade in/out depending on cloud cover.
- ๐ง๏ธ Weather effects: rain, drizzle, snow, thunder, and clouds.
- ๐ณ Animated ground with trees that swing realistically in storms.
- ๐ฆ Birds fly randomly across the sky in daytime.
- ๐ Weather UI card showing temperature, pressure, humidity, wind, precipitation, UV index, and local time.
- ๐ Automatic city detection with manual override via input box.
- ๐ฑ Only for mobile. I don't know how it'll behave in different devices.
- HTML5 Canvas (custom animations)
- Vanilla JavaScript (no frameworks)
- CSS3
- APIs: wttr.in (weather data), ipapi.co (location detection)
โก A fun project to visualize live weather in an artistic way, right in your browser.
๐ Thanks for being here. Have a great day.