r/MacOS • • 7d ago

Apps Ultra-realistic rain on a misted window pane - a native, Metal-powered screen saver for macOS 26+.

Rain is a native macOS screen saver. Drops run down a misted window pane while the street behind it is a blur of headlights, sodium lamps and neon. It runs in real time in Metal. Nothing is pre-rendered and no video is looped, so it never shows the same thing twice.

Signed and notarized version available here:

https://mariuszostrowski.com/rain/

Updates:

Rain 1.9

  • Runs on macOS 14 Sonoma and later. The minimum macOS goes down from 26 to 14.
  • Intel Macs supported. One universal build runs natively on Apple Silicon and Intel.
  • Automatic quality on Intel graphics. On Intel's integrated graphics (UHD, Iris), Rain always runs in its energy-saving mode: 30 frames per second, 65% of the display's resolution and fewer drops on the glass.
  • Dynamic resolution. If the GPU can't keep up, Rain lowers the resolution step by step, down to half, and raises it again once there is room, so it stays smooth instead of stuttering. Macs with headroom always render at full resolution.

Rain 1.8

  • added new Traffic scene
  • added "Saving battery" option - automatically reduce quality on battery or low power mode
  • added option to turn off camera movement
  • performance optimizations
591 Upvotes

81 comments sorted by

•

u/github-guard 7d ago • Bravo

⚠️ GitHub Guard: Trust Warning

One or more repositories scored below the threshold (3), but the post was not removed.

Repository: mariuszostrowski/rain

Score: 0/6

  • ❌ Low Star Count (⭐ 0 / 5 required)
  • ❌ New Repository (under 30 days old)
  • ❌ No License Found
  • ❌ No Security Policy
  • ℹ️ Personal Account Repository
  • ℹ️ Unsigned Commits
→ More replies (2)

11

u/faktory244 6d ago

Added neon clock (to enable in screensaver options)

7

u/GroMicroBloom 6d ago

am i going nuts or is the clock moving around?

2

u/faktory244 6d ago

it's a subtle prallax effect on three planes: background layer, lights (bokeh) / clock and glass on front

3

u/_sounak 6d ago

definitely moving around lmao, see it moves over the rain water streak line thing on the right side

36

u/hxxx07 7d ago

Like it. A suggestion is remove .DS_Store file from your repo

0

u/faktory244 7d ago

Yeah, removed. Thanks!

12

u/Wall_Of_Flesh 6d ago

Add it as a global gitignore

2

u/Mitsu-koi 5d ago

Savage 😂

2

u/ptrix 3d ago

Unable to install because my system has Sonoma (14.8.9) installed, but the idea is VERY beautiful! Any chances that a version could be released for older versions of MacOS? :)

1

u/faktory244 9h ago

Please download updated version from my website (added macos 14+ and intel) and let me know how it works :)

1

u/mfr3sh 1d ago

+1, looked through the repo and there should be no technical reason the min target can’t be lowered (at least down to 15.x).

2

u/faktory244 9h ago

Please download updated version from my website (added macos 14+ and intel) and let me know how it works :)

110

u/InTheEndEntropyWins 7d ago

As the AI covers the planet with solar panels to power itself. It will be fine since it will give us these ultra realistic windows so we don't feel claustrophobic.

76

u/[deleted] 7d ago • Bravo

Claudestraphobic*

16

u/luche 7d ago

this term needs to be coined and utilized a lot more

9

u/dannyzaplings 6d ago

I do declare it coined.

5

u/TH3_OG_JUJUBE MacBook Pro 6d ago

A bot more*

21

u/heavyblacklines 7d ago

ultra realistic until you realize there are no cars attached to the headlights

5

u/BangkokPadang 6d ago

To be fair that will be important because of the sulfuric scorched hellscape it will have become outside

-11

u/Think-Ad-3634 7d ago

why would it spend so much resource making something so comically inefficient? what youre describing is akin to a dyson sphere but with 99% of the potential energy just going off into space. we would most certainly put a drone-based and eventually utility fog/nanofog dispersion technology into our planet’s orbit so that we can be absorbing as absolutely much of the energy as possible while reducing waste. basically we only put the panels up where we actually get any benefit, when we have actual demand for it, and only where it is out of the way of everybody. then we would begin working on a dyson sphere. nowhere in this plan does human luxury HAVE to be sacrificed, it just goes alot faster if some of us do. so you can continue to sit on your fat ass all day scared of the next form of the internet while the rest of us try to actually secure a future for the planet that the last few generations willingly killed because they knew theyd be able to live their lives out without it being their problem. selfish fucks. not that this sitting around typing to ai all day is a form of a solution, i get what youre saying, that using technology for something “medial” like a screensaver is simply wasteful, but basically all technology is wasteful, it exists purely to convenience us, and it takes from everything around it to do it. you know what else is wasteful? golf (uses 3-5x more resources than ai per person distributed), the entertainment industry, the food industry (developed countries toss 50%+ the food they make every single day), the clothing industry (we have enough clothes for the next 6 generations just sitting around in landfills). i can go on and on. basically every single thing you do all day is so comically wasteful. yet when a new technology comes out with the potential to save our collapsing society, you give it this shallow hypocritical critique and go back to driving and golfing and wasting (metaphorically and literally). atleast the people using ai are making data that can be used for the next ai. they are apart of a recursive cycle with the potential to make something greater enough than us to fix our 250 years of fuckups since the industrial revolution when oil barons took over the world. its simply up to us to take it back. the only way to fight power is more power. taking their power for ourselves. whether you realize it and will admit it or not, every stupid little prompt someone throws into claude is a MUCH bigger step closer to ACTUALLY solving any of the last 250 years of GLOBAL problems, than whatever the hell you do all day im sure. i get that someone needs to plumb the toilets and fit the pipes, but if that is all we do, and everything else we do is a net waste, we will simply rot into nothing. so i try to see this new renaissance of creation as something more than just waste

12

u/[deleted] 7d ago

-5

u/Think-Ad-3634 6d ago

**Compulsive Correction**
The user leverages technical knowledge to assert dominance. The user deploys unsolicited troubleshooting to validate personal intelligence. The intent is self-promotion, not assistance.

**Contextual Blindness**
The user misreads social context. The user posts affirmative statements in subreddits dedicated to irony. The user drops isolated technical terms into unrelated threads. A disconnect exists between intent and social reception.

**External Validation Dependency**
The user spends energy sourcing high-resolution media. The user announces the inability to post links publicly. This reveals a dependency on external validation. This dependency fails under minor platform restrictions.

**Poor Impulse Control**
The user spams reminder bots with one-second intervals. The user floods threads with emojis during minor inconveniences. These actions show an inability to self-regulate. The user demands immediate digital gratification.

**Rigid Defeatism**
The user defaults to aggressive recommendations when facing friction. The user advises others to cancel orders and abandon projects. A rigid mindset is present. The user treats minor setbacks as catastrophic failures. The user views total abandonment as the only acceptable outcome.

**Performative Cynicism**
The user dismisses independent developers. The user labels new software as low quality without review. The user expresses defeatism regarding corporate entities. This cynicism is a defense mechanism. It allows critique from a distance without creative risk.

**Mechanical Rigidity**
The user repeats identical responses across multiple threads. The user prioritizes strict formatting standards over conversational context. A reliance on rote scripts is evident. The user avoids organic thought.

4

u/YeahThatKornel 6d ago

Thanks, ChatGPT.

0

u/Think-Ad-3634 6d ago

thats the entire point. ai is awfully powerful aint it

1

u/YeahThatKornel 1d ago

Very powerful. It thinks for you, so your cognitive skills can decrease over time.

1

u/Think-Ad-3634 1d ago

have your cognitive skills decreased over time from using google? it “thinks” for you, by aggregating sources instead of forcing you to look through a library. have your cognitive skills decreased from reading books? what about reading online? your phone “thinks” for you by polling and aggregating all sorts of data. an incomprehensible amount of data. what about driving, have YOUR cognitive skills decreased from driving to work instead of running there? these questions are all rhetorical btw, studies say odds are a big nope, infact they say the opposite, learning skills of any capacity is quite beneficial. but you dont see using ai as learning a skill that way do you? to you its just between whether you read it from a book and it took you 30 reads to understand, or from a search engine and it took you 15, or from a personalized book congregator we call “ai” where its only a handful of times. how the hell is it that when you talk to a human being, a teacher, its that you’re learning something from them, but when you get your very own personalized super-teacher in your pocket, suddenly you’re “offloading thinking” or some bullshit, as if efficiency wasnt the goal the whole damn time. suddenly its not any of the benefits that a teacher or a book or a search engine are, it has to be this scary mysterious devils work. how silly. do you like being fearmongered?

14

u/shotsallover 6d ago

This looks nice.

You should do a few sci-fi backgrounds. Like someone's looking out of a rainy window over an X-Wing service bay. Or looking down over the travel lanes in The Fifth Element. And so on.

5

u/jethro_wingrider 6d ago

Yes second this. Some kind of cyberpunk background would be awesome.

2

u/shotsallover 6d ago

Keep them just as blurry, so you only evoke the scene.

10

u/imike3049 5d ago

Thanks fot the beautiful screensaver! I forked it to make it work on macOS 15 it was pretty easy since there are actually zero limitations except for you Xcode project settings. So you can just lower the minimum macOS target.

3

u/Secret-Warthog- 5d ago

please do this im still on macOS 15 too.

2

u/pruzicka 4d ago

do PR on Github. One do not need Xcode, command line tools are ok. I did PR with that fact already

2

u/resonator79 4d ago

I opened a PR several days ago to add a city park scene to the set but have gotten no response from the maintainer yet.

1

u/pruzicka 3d ago

well, so let's see.

1

u/Rich_Wealth_8313 4d ago

Oh yeah I want it on 15 as well

7

u/Chenja 6d ago

Idk if it’s ultra-realistic when every light is a perfect circle and cars are just floating headlights haha

4

u/No-Breakfast-5343 6d ago

Can you fix the cars passing by, its just headlights no body of car

4

u/chrislux 5d ago

How is this a screen-saver if it blasts the same light pattern on the display the whole duration?

1

u/piercingemoblades 3d ago

There are no Options when clicking on "Options" for me. Is there a way to fix that?

2

u/faktory244 3d ago

Hmm, try to close settings window and reopen. Are you usinga latest version?

1

u/piercingemoblades 3d ago

Reopening actually did it :D

1

u/piercingemoblades 3d ago

Do you know if using metal in a screensaver somehow more taxing to the MacBook? I like it, I just have mine for 3 years now and my intuition is that using it, is too much iykwim.

3

u/PonjikkaraStandard 6d ago

OCD in me wants to wipe the monitor.

2

u/proderis 7d ago

How is it moving with your camera?

2

u/Luminous_Orange 6d ago

Wow very nice effect!! Now can you make it a misted shower door with the silhouette of a lady taking a shower lol

2

u/zshcoder 5d ago

Nice, this looks rather cool on the Studio Display! An auto city-scape layout (the same lights in a pattern showing skyscrapers and streets of cars) would be amazing

2

u/RustleGlub 5d ago

Ooh nice. I'm working on a couple of screen savers too. They seem to be an (almost) lost art these days.

1

u/promo-guard 7d ago

🎉 Welcome to Developer Saturday, u/faktory244! Your project is now live for the community to check out. Upvote, give feedback, and show some love to your fellow devs! 🚀

1

u/refeaime 6d ago

Was inspired by this idea and wrote similar app for Linux x11, altering xscreenlock. When key pressed, gives light glitch for raindrops.

1

u/foolishlion6 6d ago

Built and installed, but when I click 'preview' to try it I get a black screen :/

1

u/ExpectedBehaviour 6d ago

It does not seem to like multiple displays.

1

u/uncureddd 6d ago

i need this on the duo ahh

1

u/joshstewart90 6d ago

I would love this to be a wallpaper (not screensaver)

Ooh that changes based on time of day

2

u/joshstewart90 6d ago

In fact, I've just changed to a wallpaper in a fork https://github.com/Joshjs1990/rain/actions

Working on a day mode too.

1

u/coluch 4d ago

Have the wallpaper update to match local weather. We’ll never have to look out a real window again! I look forward to 5 months a year of a blurry white scene through frosted glass.

1

u/joshstewart90 4d ago

Ooh. love the Tokyo one!

Also note- I forked and created a wallpaper (not screensaver) based on it. Not sure if you've done the same or are sticking to screensaver for now.

1

u/Claes3D 6d ago

Nice. Good idea.

1

u/resonator79 5d ago

Love this concept! Thought an added natural/suburban mode would be a nice add. I've opened a PR in the repo. Let me know what you think!

1

u/FinancialCustard2747 5d ago

Pls make for windows

1

u/jonheartland 5d ago

Droplet streaks are too thick

1

u/teamshoukie 5d ago

Hey this is great. I woke up thinking it’d be so cool if, as a wallpaper, you had the option for this effect to begin happening to whatever is currently on your screen. So if you leave your computer, droplets start, and in 5 minutes or whatever it’s mostly blurry with droplets, like your sample above. But all the while your screen is active behind the effect. Maybe you can wipe it away 😂

1

u/djexplosive 4d ago

Beautiful! Thanks for making this. Does it work on Intel based macs or only apple silicon?

1

u/cvsmith122 4d ago

Well except for the cards almost driving into you...

1

u/Sevastarion 3d ago

Thank you Claude

1

u/RenegadeUK 2d ago

Thanks for this :)

1

u/Practical-Deer-9759 2d ago

I regret installing non-reflect film on my mac

1

u/visualfusion_de 2d ago

Love that this is rendered in real time with Metal instead of just looping a video. Going to install it later and check out the Tokyo scene.

1

u/metamatic 6d ago

Beautiful work, well done.

-10

u/TriangleBagels 7d ago edited 7d ago • Heartwarming

Downloaded and installed with Claude (`Can you download https://github.com/mariuszostrowski/rain to ~/git/ and compile it`). Worked great on my Golden Gate laptop. Its my default for now.

13

u/Sensitivity_Craft 6d ago • Bravo

We really wasting Claude to compile shit instead of typing two commands into terminal

-5

u/TriangleBagels 6d ago

You’re implying that’s the laziest thing I used Claude for today.

6

u/YeahThatKornel 6d ago

Good job getting dumber by the minute.

-7

u/Direct-Fee4474 6d ago

wow an llm made a shitty port of a shadertoy demo to swift. golf claps for slop.

-9

u/WafflePartyOrgy 7d ago

Does this require AppleCare, otherwise voiding your limited warranty?