A koi that follows your finger, in SwiftUI.
14 spine points, each following the one in front. Every joint can only bend about 20Β°, so the body stays a smooth curve, and the tail moves faster when it speeds up
A koi that follows your finger, in SwiftUI.
14 spine points, each following the one in front. Every joint can only bend about 20Β°, so the body stays a smooth curve, and the tail moves faster when it speeds up
SwiftUI animation curves, one by one:
.linear same speed the whole way
.easeIn starts slow
.easeOut ends slow
.easeInOut slow, fast, slow
.spring like a spring, no bounce
.bouncy overshoots, then settles
.snappy quick, tiny bounce
A koi that follows your finger, in SwiftUI.
14 spine points, each following the one in front. Every joint can only bend about 20Β°, so the body stays a smooth curve, and the tail moves faster when it speeds up