https://github.com/morkrom/googlyeyes
https://github.com/morkrom/googlyeyes
cadisplaylink coregraphics coremotion uikitdynamics
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/morkrom/googlyeyes
- Owner: Morkrom
- License: mit
- Created: 2016-11-21T00:04:58.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2025-12-26T01:16:28.000Z (6 months ago)
- Last Synced: 2025-12-27T11:35:15.736Z (6 months ago)
- Topics: cadisplaylink, coregraphics, coremotion, uikitdynamics
- Language: Swift
- Homepage:
- Size: 1.44 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# googlyeyes
[](http://cocoapods.org/pods/googlyeyes)
[](http://cocoapods.org/pods/googlyeyes)
[](http://cocoapods.org/pods/googlyeyes)

## Enjoy
Combine Apple's UIKitDynamics and CoreMotion frameworks for fun on iOS
## Usage
#### Initialize
##### SwiftUI
GooglyISwiftUI(size: .init(width: 20, height: 20))
##### CGRect
let leftEye = GooglyEye(frame: CGRect(x: 30, y: 300, width: 100, height: 100))
##### Autolayout
let rightEye = GooglyEye.autolayout()
#### Configure
Make adjustments to the pupil width as a percentage of its respective sclera's diameter.
leftEye.pupilDiameterPercentageWidth = 0.1
## Requirements
iOS 13.0
## Installation
googlyeyes is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:
```
pod "googlyeyes"
```
## License
googlyeyes is available under the MIT license. See the LICENSE file for more info.