https://github.com/eskils/jellyfishsaver
SwiftUI Shader based Screen Saver for macOS
https://github.com/eskils/jellyfishsaver
complex-numbers macos macos-screensaver metal screensaver shaders swiftui
Last synced: 4 months ago
JSON representation
SwiftUI Shader based Screen Saver for macOS
- Host: GitHub
- URL: https://github.com/eskils/jellyfishsaver
- Owner: Eskils
- License: mit
- Created: 2024-01-22T19:14:21.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-16T07:12:40.000Z (over 1 year ago)
- Last Synced: 2025-10-26T22:39:10.807Z (8 months ago)
- Topics: complex-numbers, macos, macos-screensaver, metal, screensaver, shaders, swiftui
- Language: Swift
- Homepage:
- Size: 20.5 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jellyfish Saver
A macOS screensaver written using SwiftUI Shaders. Draws some curves animated along a `sinc` function, which makes the curves vary between moving fast and slow—like jellyfish.
You may specify how many “jellyfish”, the number of curves making up one jellyfish, and the distance between the curves.
https://github.com/Eskils/JellyfishSaver/assets/26850613/51e38924-3027-4221-a530-1af2d09a560c
## Installation
- Download the latest release
- Open the saver-file
- Install and preview.
- If the screensaver is black the first time, you may need to approve it under *Privacy & Security*
## Debugging on macOS Sonoma
MacOS Sonoma has a new agent—namely `WallpaperAgent`—that deals with starting the screensaver. This agent suspends the screensaver in memory and so does not always read from disk when a new build is installed.
- Install by opening .saver file
- Restart System Settings for preview to update
- Restart WallpaperAgent for actual saver to update
- `killall kill WallpaperAgent`