Each animated frame of the a stick figure's motion is just a glyph in the font. You can drop {walk} into a paragraph and a stick figure walks right through it, at text size, and the words move aside.
The text reflow runs on Cheng Lou's awesome pretext library, which is fast enough to animate everything performantly.
There's an API for it (framer-motion style, for Svelte / React / plain JS), and the fonts are regular .otf files. Made a little demo page too - check it out and enjoy the swarm!