Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/falcowinkler/dancing-boids
a macOS screensaver
https://github.com/falcowinkler/dancing-boids
boids boids-simulation core-graphics macos screensaver swift
Last synced: about 2 months ago
JSON representation
a macOS screensaver
- Host: GitHub
- URL: https://github.com/falcowinkler/dancing-boids
- Owner: falcowinkler
- License: mit
- Created: 2021-01-06T20:03:48.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-07T10:24:25.000Z (about 1 year ago)
- Last Synced: 2023-10-07T11:26:21.143Z (about 1 year ago)
- Topics: boids, boids-simulation, core-graphics, macos, screensaver, swift
- Language: Swift
- Homepage:
- Size: 110 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## dancing boids
A macOS screensaver.
### test
To test the screensaver, you can simply run the Target `ScreenSaverTest`.### install
Build the target `DancingBoids`, then open the artifact `DancingBoids.saver`.### development
The screensaver consists of multiple animations that are playing,
being randomly every now and then.
If you want to add a new animation,
you can create an implementation of `ScreenSaverViewDelegate`
and add the type of that delegate
to `screenSaverDelegates` in `DancingBoidsView`.You may use the flockingbird library (`import Flockingbird`) to create boid animations.
For an example of the above, see `FlockingScreenSaverViewDelegate`.