A SwiftUI pet project inspired by Apple TV series Severance
Demo.mov
Folders_Demo.mov
-
Box is implemented with
Path
andanimatableData
. It was a tricky one, I didn't find a solution just withRectangle
s and.rotation
. The problem was "connectors" for lids. Also filling path leads to animation glithces - that's why I use 2 boxes: stroked and filled. -
Each number is floating randomly in horizontal or vertical direction.
-
For numbers selection I use
.onHover
andDragGesture
-
For older look
.overlay
with pixels grid immitation is used. -
ZStack with shifts for Folders animation
-
x^2 and (x+1)^2 functions for Wheel View
-
3D rotation with 0.0 perspective