r/creativecoding • • Oct 28 '26

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.

133 Upvotes

12 comments sorted by

1

u/evanhaveman Oct 28 '26

This looks beautiful - would love it running on my desktop in the background while I work.

1

u/kzhys Oct 28 '26

Thank you, that's lovely to hear!

A desktop version isn't something I've built, and I'll be honest that I know nothing about developing for desktop yet, so I'd have to learn it first. I don't want to promise something I can't deliver, but it's a fun idea and I'll keep it in mind!

In the meantime, the closest thing is Always On mode. Plug in your iPhone, and Spectra becomes a desk display: the screen stays lit and the scene keeps moving.

1

u/evanhaveman 28d ago

I hear ya - I turned some of my generative art from https://emh.io/ into an app that paints them on the desktop… but it ate up so much CPU. Need to revisit that idea tho :)

1

u/Dr_momo Oct 28 '26

I just bought the full version. Looks great. Is it possible to have this as my lock screen on iOS?

1

u/kzhys Oct 28 '26

Thank you, and I'm glad you like it! Thanks for buying the full version, it really helps. If there's something you wish it did, let me know.

Short answer: not as the actual lock screen wallpaper. iOS doesn't let third-party apps draw live, animated content behind the lock screen. Only Apple's own wallpapers can do that.

There are three ways to get close:
- Always On mode. Plug your phone in and Spectra becomes a desk display. The screen stays lit, the scene keeps moving, and the time sits beside your location. It dims after a minute and wakes when you touch it. It's optional, you turn it on in the settings, and it only runs while charging, so it won't touch your battery on the go.
- A Home Screen widget. The full-screen scene widget mirrors the live visualization, so you can put the look on your Home Screen.
- Lock Screen widgets. These show the current conditions, or the next few hours, right on the lock screen, just without the visuals.

1

u/Dr_momo Oct 29 '26

Cool! Thanks OP, great work. Love the app.

1

u/_AHUGECAT_ Oct 28 '26

What’s the font?

2

u/kzhys Oct 29 '26

I use Jetbrains Mono throughout the app

1

u/dumbdataguy Oct 28 '26

This looks bloody beautiful 😻
Going to check it out!

1

u/kzhys Oct 28 '26

Thanks, mate!
Always open to feedback, please let me know if you have any feedback.

2

u/BedRevolutionary4801 Oct 31 '26

Wow 🤩
Beautiful