HI version is available. Content is displayed in original English for accuracy.
I built Phosphene to sell it, but the existing competitors were polished enough that the time it would have taken to catch up wasn't going to pay off. So I'm open-sourcing it.
WallpaperExtensionKit.framework is what powers macOS wallpapers. It controls what’s shows in the Settings app. It took a lot of trial and error to replicate the behavior, but the result is that your custom wallpapers appear alongside everything else. I wanted to have an “add” button there too, but I couldn’t find a way to do so, so there’s a companion app that will put your video where it needs to be.
Unlike Apple's Aerials, the video keeps playing on the desktop (not just the lock screen). The renderer drives AVSampleBufferDisplayLayer directly with PTS-offset gapless looping, and pauses or downshifts based on thermal state, battery level, brightness, and window occlusion.
It’s free and works well.

Discussion (79 Comments)Read Original on HackerNews
This was literally my first hack I did in high school in 2005. Doing something I’d never seen done before, a video wallpaper.
Step one, grab a handle to the video memory serving the wall paper. My “game trainer cheats” experience served me well. That was easy.
I had to figure out the hard way that per pixel calculations are extremely CPU taxing, the YUV to RGB video color space conversion. With a pirated Intel compiler I could get the naive blit into memory videy background working.
But then I wondered how other video apps were working so efficiently?
They used a GPU overlay! How it worked is you’d designate a color on your screen as the overlay color, and, when the screen was rendered, any pixel that was the overlay color was swapped with the full screen rendered video. I forget the specifics, it was some directX api. So, set the wallpaper to the hottest hot pink, run the renderer, and bobs your uncle, video wallpaper.
Everyone I showed this to was amazed, I really though I was on to something! Trouble was, I couldn’t get the damn thing to run on other people’s computers!
Little did I know or understand about the dreaded VCruntime redistributable. It wasn’t until 10 years later when I started working in industry I learned about “software distribution”. Linux makes it too easy, windows makes it too hard, static linking everything that isn’t network facing is probably the right approach.
I was so annoyed when Vista had the video wallpaper feature. “Man I was doing this years ago!”.
This is life. We discover things for ourselves, on our own time.
I see what you did there :)
which waterfall are you talking about? i am also surprised to see how many wallpapers were apparently available on Vista. All I remember is the default green gradient thingie and I think I had the bamboo forest on at some point
IIRC at that time users were split fairly completely into three types: those who customised their OS look a lot, sometimes spending far too much time on it (I was one of them back then), those who had developed a preferred look and just kept that as much as possible between OS changes, and those who just used the defaults and got on with whatever else. This means the other wallpaper that someone at MS put effort into collecting together hardly ever got seen: many users kept the one default, and almost all who didn't had something that they chose from other sources. Maybe the other included images might have seen the light of day more often if there had been an explicit “choose your wallpaper” prompt as part of user on-boarding.
https://news.ycombinator.com/item?id=45247396
I’m developing a proof-of-concept using similar technology and am looking for someone interested in helping bring it to market. If that sounds interesting, feel free to email me (see my profile).
/System/Library/ExtensionKit/Extensions/WallpaperMacintoshExtension.appex
Can see the time and date being added here I think:
System6ControlPanel.program
Anyhow, on topic, that windows 98 active desktop was the most unstable part of an already shaky OS. First thing to turn off when installing a new system. I mean, it would still crash if you looked at it wrong. But at least it was not dying for the fun of it anymore.
On a similar note, I’d love to replace Aerials on tvOS with my own videos. I have yet to figure out how to craft a working data feed that the tvOS will accept using the secret mode that I believe is used in the retail store displays.
Out of curiosity: how much did you need to steer Claude while working on this project, and how long did it have?
Asking partly because I see "Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>", and partly because I keep hearing "so what do you do with all these agents", and this is a good example of what people do with all these agents.
https://kagerou.glass/phosphene/
https://kagerou.glass
also, nice typography.
However, it may definitely get broken by Apple, as you note.
I won't use it, myself, because I can't deal with wallpaper moving behind my work (I also can't listen to music, while I work. Maybe it's a "generational" thing). Also, I use a 49-inch ultrawide, so it might be vomit-inducing.
I remember some other utility that played wallpaper videos, but it wasn't anywhere near as nicely done.
And I wasn't even using video wallpapers at the time.
Just discovered I had no internet 3 days into the month as my ISP had cut me off. Had to dig deep and spend hours I'll never get back trying to find out where all the data was going.
Here's a thread I just found now that shows others having similar issues: https://www.reddit.com/r/MacOS/comments/1ii38g8/macbook_wall...
icons and text would get single-color backdrops though. no transparency back to the html