Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cwimberger/WatchKitAssetPlayground
A swift playground for creating awesome animations for your WatchKit Apps.
https://github.com/cwimberger/WatchKitAssetPlayground
Last synced: 3 months ago
JSON representation
A swift playground for creating awesome animations for your WatchKit Apps.
- Host: GitHub
- URL: https://github.com/cwimberger/WatchKitAssetPlayground
- Owner: cwimberger
- License: mit
- Created: 2015-05-11T16:20:50.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-05-11T17:53:48.000Z (almost 10 years ago)
- Last Synced: 2024-08-04T00:05:31.180Z (7 months ago)
- Language: Swift
- Size: 1.01 MB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Swift-Playgrounds - WatchKit Asset Playground - A swift playground for creating awesome animations for your WatchKit Apps. ⏳ (UIKit And Graphics / Machine Learning)
README
# WatchKitAssetPlayground
A swift playground for creating awesome animations for your WatchKit Apps.
Examples:

These little animations can be implemented in a functional way:
```swift
let dots = 3
let duration = 2.0
let color = UIColor.blackColor()
let circleSize = interpolate(duration: duration, curve: easeInOutQuad, values: 0.0, 20.0)
let c = circle(size: circleSize, color: color)
let circleAlpha = interpolate(duration: duration, curve: easeInOutQuad, values: 1.0, 0.0)
let ac = alpha(value: circleAlpha, animation: c)var circles: [AnimationBlock] = []
for i in 0..