Created
February 15, 2021 08:31
-
-
Save petrosDemetrakopoulos/d9ac4add30167f189c85f925ac3d1f68 to your computer and use it in GitHub Desktop.
State variables and half sector constant
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@State private var isAnimating = false | |
@State private var spinDegrees = 0.0 | |
@State private var rand = 0.0 | |
@State private var newAngle = 0.0 | |
let halfSector = 360.0 / 37.0 / 2.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment