I'll build an immersive, cinematic weather app — "ATMOS" — with animated SVG weather icons, a living canvas background that reacts to conditions, hourly forecast with a temp curve, and a weekly outlook with temperature range bars. Let me start by installing the animation libraries.
Now I'll set up the foundation: fonts/title in index.html, the design system + animation keyframes in src/index.css, and the sample weather dataset.
HTML shell and CSS animation system are in. Now the sample weather dataset with 7 cities covering every condition type.
Dataset is in. Now the centerpiece — the animated SVG weather icon system with unique-gradient instances and CSS-driven motion for sun rays, rain, snow, lightning, fog, and twinkling stars.
Weather icons done. Now the living background — a canvas engine that renders rain, snow, twinkling stars, drifting light motes, and procedural lightning bolts, crossfading between condition-based gradient skies.
Background engine complete. Now the four UI panels — hero current conditions, detail stat cards with compass/gauges/sun-arc, the hourly curve strip, and the weekly outlook — all independent files.
All panels ready. Now the App shell — header with logo, live city clock, unit toggle, animated city switcher pills, and the full layout composition.
Now let me build to verify everything compiles.
Build passed. However, I spotted a critical bug in the canvas engine: the particle count is computed before resize() sets canvas dimensions, so rain/snow/star particles would never spawn. Let me fix that.
Now let me clean up a small leftover in HourlyPanel and rebuild.
Build is clean. The app is complete — here's what I shipped:
ATMOS — Weather, Beautifully
A cinematic, fully immersive weather experience where the entire viewport responds to conditions in real time.
Animated weather icon system (WeatherIcon.tsx) — 8 hand-built SVG conditions with CSS physics: spinning sun rays with pulsing core, twinkling stars + crescent moon, drifting cloud layers, staggered falling raindrops, an irregularly flashing lightning bolt, rotating/swaying snowflakes, and sliding fog bars. Unique gradient IDs per instance so dozens can render at once.
Living background engine (BackgroundFX.tsx) — a canvas particle system that renders wind-blown rain, drifting snow, twinkling starfields, and floating light motes, plus procedurally generated lightning bolts with branching, glow, and screen flash for storms. Condition-matched gradient skies crossfade, with sun/moon glows, drifting cloud bands, low fog shelves, vignette, and film grain.
Current conditions — giant cinematic temperature with blur-rise entrance, live city-local clock (per IANA timezone), condition summary in serif italic, Hi/Lo, feels-like, precipitation, wind, and AQI chips.
Detail stats — wind compass with spring-animated needle, humidity bar with dew point, animated UV gauge arc, pressure-range slider, visibility bars, and a sun-path arc showing the sun's actual position computed from the city's local time vs. sunrise/sunset.
Hourly forecast — drag-to-scroll 24h strip with a smooth catmull-rom temperature curve that draws itself in, gradient area fill, per-hour animated icons, and precipitation chances.
Weekly outlook — 7-day rows with animated temperature-range bars normalized across the week, precip % and icons.
Sample data — 7 cities spanning every condition: Tokyo (rain), Dubai (blazing sun), London (overcast), Singapore (thunderstorms), Reykjavík (snow), Oslo (crystal night), and San Francisco (fog). Includes a spring-animated city switcher and a °C/°F toggle that converts everything.
Files built: index.html, src/index.css, src/data/weather.ts, src/components/WeatherIcon.tsx, src/components/BackgroundFX.tsx, src/components/Hero.tsx, src/components/StatsGrid.tsx, src/components/HourlyPanel.tsx, src/components/WeeklyPanel.tsx, src/App.tsx