metasidd / Orb

A mesmerizing orb, fully designed in SwiftUI.
https://siddhant.ca
MIT License
194 stars 12 forks source link

Resolves Issue #3 - Adds handling for scene phase transitions #8

Open JulianDMartinez opened 1 week ago

JulianDMartinez commented 1 week ago

Resolves #3

Adds pause and resume of animations on scene phase transitions to minimize animation stutters.

Previous Stutters:

https://github.com/user-attachments/assets/e3069a21-bb1e-4b78-9b68-0b35b3d2c354

After adding scenePhase handling:

https://github.com/user-attachments/assets/b9382727-2c84-43b3-931b-163150844efd

https://github.com/user-attachments/assets/55772c61-c221-430e-be4a-b6ce02997c38

https://github.com/user-attachments/assets/f9c30964-aedb-48b3-b9f7-8b37c6da4410