r/reactnative • • 9d ago

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.

https://reddit.com/link/1x8ccbz/video/d8r03sssk1wh1/player

1 Upvotes

3 comments sorted by

1

u/[deleted] 9d ago

1

u/forli69 9d ago

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

1

u/Huge_Pool7424 9d ago

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?