r/iOSProgramming • u/tedmirra • 3d ago
Article I am creating animated widgets.
Hey all!
Iām building Jubs, an app with animated iPhone widgets.
I want them to feel alive, and a big part of that is getting the little details right.
I draw everything by hand first, then write simulations to figure out how it should move.
For this snow globe, that meant working out how snow falls and how the curved glass bends what you see through it.
Let me know your thoughts, please.
Thank you
7
Upvotes


2
u/jaymakesapps 2d ago
Simulating how curved glass bends the snow for a home screen widget is a beautifully unhinged amount of effort. Good timing on the snow globe though, December basically sells it for you.
2
u/brkaydev 2d ago
Worth checking it in the tinted and clear home screen styles too. There the system renders widgets in accented mode, and a hand drawn image can end up as a flat grey shape unless you set widget accented rendering mode on it (full color or desaturated) and pick which layers take the accent. Snow and glass highlights are exactly the kind of detail that disappears in that mode.
2
u/purposeful_pineapple 2d ago
Why does the box go all around the tree, but the candy cane just bobs to the side without ever crossing the front?
2
u/definitelybestguy 2d ago
I can see you've tried this on device, but curious how long you've run it for? I suspect this kind of refresh rate will consume your widget's day's refresh budget in minutes, and then it will end up sitting static the rest of the time... Would love to be wrong about this as I've had a few ideas which would benefit from even this 1 fps refresh rate animation, but I didn't think it was possible.
2
u/wwwery-good-apps 2d ago
they are looking cool, how do you render them?
1
u/hamsterjedi Swift 2d ago
While the idea is great, it looks laggy as hell? š«
2
u/[deleted] 3d ago
[removed] ā view removed comment
1
u/[deleted] 8h ago
[removed] ā view removed comment