I used rive.app to encode the frames and create a state machine to move between the states. Perhaps I can simplify this even more.
I used rive.app to encode the frames and create a state machine to move between the states. Perhaps I can simplify this even more.