r/iOSProgramming • • 2h 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

3 Upvotes

5 comments sorted by

2

u/BeastWael_YT 2h ago

the hand drawn first then simulate approach is a nice touch. one thing to watch is battery, since widgets get a limited refresh budget, so it's worth testing how the animation behaves when the system throttles updates.

•

u/tedmirra 24m ago

This is a good point! I need to check this out!

Thank you

2

u/jaymakesapps 2h 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.

•

u/tedmirra 25m ago

Thank you, it took me several attempts to get to this point, and I am not 100% fully happy with it...

I hope you are right on the selling part šŸ™

•

u/brkaydev 10m 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.