r/creativecoding • u/kzhys • 5h ago
Weather visualization app
Enable HLS to view with audio, or disable this notification
Spectra Weather is an iOS weather app that renders live conditions as full-screen generative visuals, with no icons or charts. Each mode's look is driven by three normalized 0-1 parameters (intensity, density, chaos) computed live from WeatherKit data, so nothing is a looping video.
I posted about it here four months ago (link at the bottom). Since then I've been improving it, and the biggest change is a new Storm mode. The video shows Storm along with Wind, Clouds, Rain, Heat and Thunder.
Storm took the most iterations. My first version was a cloud mass backlit by lightning with rain falling in front of it. It looked good, but it read like an illustration of weather, something you'd see out a window, and that's not what the rest of the app is doing. I wanted notation, not depiction.
The current version is vertical bars in fixed bands, drawn in the spirit of CRT displays and glitch blocks. Nothing falls. The bars stay where they are on the Y axis and flash in at different X positions, with their width randomized. When lightning strikes, blocks from each of the three tall bands flash together, hold still for about two seconds, and fade. Only those blocks flash, not the whole field, and that restraint is what makes it read as lightning rather than noise.
It triggers only when WeatherKit reports a hurricane, tropical storm or strong storms, so most people will rarely see it.
The app is on the App Store if anyone wants to try it. I'll put the link in a comment.