Updated:

rain

mariuszostrowski

SwiftCreated

161 stars

A native Swift and Metal screen saver for macOS 26+ rendering real-time raindrops over blurred city-night backgrounds.

View mariuszostrowski/rain on GitHub

What is mariuszostrowski/rain?

Rain is a native macOS 26 and newer screen saver written in Swift that simulates water droplets sliding down a fogged window pane at night. Rather than playing back video files, it generates every frame procedurally on the GPU so scenes never loop.

Powered by Apple's Metal framework, the screen saver renders droplets trailing down misted glass in real time over out-of-focus night backdrops—depicting city streets, rivers, or neon-lit Tokyo corners illuminated by headlights and lamps. Because nothing is pre-rendered or looped, drop paths and visual patterns remain unique each time the screen saver runs.

It is designed for Mac users on macOS 26 or later who want an atmospheric, GPU-rendered rain-on-glass screen saver, as well as Swift and Metal developers interested in real-time procedural visual effects.

Before you startThe README says

Runs on
macOS 26 or later on a Mac with Metal; any Apple Silicon Mac is recommended.
Needs
Xcode to build the project (Cmd+B); a Mac with Metal support.
How you get it
Open rain.xcodeproj in Xcode, build, then double-click Rain.saver from the build folder.
Not yet
README lists a known issue: System Settings shows a generic thumbnail since macOS 26.

Facts from GitHub (updated Dec 4, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.