-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
485bac7
commit 27b1051
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
Binary file modified
BIN
+0 Bytes
(100%)
...roj/project.xcworkspace/xcuserdata/nateparrott.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
![Screen recording of a ball bouncing](Recording.gif) | ||
|
||
# Ball | ||
|
||
It's a little ball that lives in your dock. You can drag it and it'll bounce around the screen. You can also swipe on it with two fingers. It comes in red. You can flick it, bounce it, try to make it hit the corner, see how many times it can bounce, count how many times it hits the wall, and more. It's a ball. It's fun. It's a ball. | ||
|
||
## Credits | ||
|
||
It's inspired by [Nate Heagy's](https://heagy.com/) widget for the OS X Dashboard, which I remember fondly because someone put it on our class [eMac](https://en.wikipedia.org/wiki/EMac) in fifth grade. It was a lot bouncier and come in more colors, but it didn't go in the dock! | ||
|
||
Credit also goes to Wessley Roche, who made this [little Gist](https://gist.github.com/wonderbit/c8896ff429a858021a7623f312dcdbf9) explaining how to get the position of the dock. I've [extended this](https://github.com/nate-parrott/ball/blob/main/Ball/DockUtils.swift#L65) to try to estimate the position of the app's dock icon when it's clicked, so the ball can animate out of it. | ||
|
||
## Final words | ||
|
||
I hope you enjoy this little ball. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.