Can some one please tell me how does the animation work from the attached link

https://twitter.com/zuga/status/1759128900695986409
this does look like a spilne animation but how does this work from scripting perspective.
thanks