r/reactnative • • Oct 17 '26

Animation for a adjusted calorie target

Hi there. Just wanted to share a nice animation I created (with claude ofc).

My app calculates your daily calorie needs from your body, everyday activity and training. Tell it how your target feels, and it adjusts the number until it fits you.

1 Upvotes

3 comments sorted by

1

u/[deleted] Oct 17 '26

[removed] — view removed comment

1

u/forli69 Oct 17 '26

Thanks! I will take a look at your suggestions. The animation is achieved using reanimated

1

u/Huge_Pool7424 Oct 17 '26

nice, if it's reanimated already you could run the digit roll with withSpring on the ui thread so it stays smooth even when the recalculation is heavy. does the target come from healthkit active energy or your own estimate?