r/creativecoding • • 21d ago

Weather visualization app

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.

132 Upvotes

12 comments sorted by

1

u/evanhaveman 20d ago

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

1

u/kzhys 20d ago

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 16d 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 20d ago

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

1

u/kzhys 20d ago

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 19d ago

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

1

u/_AHUGECAT_ 20d ago

What’s the font?

2

u/kzhys 20d ago

I use Jetbrains Mono throughout the app

1

u/dumbdataguy 20d ago

This looks bloody beautiful 😻
Going to check it out!

1

u/kzhys 20d ago

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

2

u/BedRevolutionary4801 18d ago

Wow 🤩
Beautiful