- You're a cute little sheep dog, running along, trying to add more dogs to your pack while avoiding obstacles
- alternative concept: fish/school of fish
- Horizontal sidescroller
- constant horizontal (rightward) movement
struct AnimatedView: View { | |
@State var percentComplete: CGFloat = 0.0 | |
var body: some View { | |
Ellipse() | |
.trim(from: 0, to: self.percentComplete) | |
.stroke(Color.purple, style: StrokeStyle(lineWidth: 20, lineCap: .round)) | |
.frame(width: UIScreen.main.bounds.width / 2, height: UIScreen.main.bounds.width) | |
.animation(.easeOut(duration: 2.0)) | |
.onAppear { |
/* | |
* | |
* tsconfig.json | |
* | |
*/ | |
{ | |
"compilerOptions": { | |
"target": "es6", | |
"module": "commonJs", | |
"baseUrl": ".", |