JSFiddle - React, Tailwind, and code Playground
HTML
<x id=s></x><pre id=p>
CSS
*{text-align:center}x pre{display:inline-block;width:55px;text-align:left}pre{line-height:16px;margin:0
JavaScript
t=setTimeout
c=l=a=i=0
_=(x,y,z)=>{if(!i)for(;++i<=x;q=~~(Math.random()*10))s.append(document.createElement('pre'))
for(i=l=0,c=a+1;i<33;)(i=>{t($=>{if(4==i){c=0
l=1}if(8==i){c=a+1
l=0}if(12==i|14==i){c=0
l=2}if(13==i|15==i)c=a+1
if(16==i){c=0
l=3}if(16<i&24>i)c=i-10
if(24==i){c=0
l=4}if(28==i)c=6
if(31<i){a=++a%5
_(x,y,z)}for(j=0;j<x;)(j=>{t($=>s.childNodes[j][h]=(-1<[1,3,8,9].indexOf(c)?' ':2==c||4==c?' ' :' ')+(11==c||12==c?'_':'')+['\\/\\/','|┌┐|',')||(','||||','┐/\\┌'][(q+j)%4].substring($=8<c&12>c?2:0,$+2)+(8==c||9==c?'_':'')+'\n'+[` ['']
└[__]┘
||`,` ['']
└[__]┘
/<`,` ['']
└[__]┘
>\\`,` ['']
┌[__]┘
<\\`,` ['']
└[__]┐
/>`,` ['']
┌[__]┐
/ \\`,` \\[*-]
[__]\\
<\\`,` ['']
>[__]<
||`,` [" ]
[_<]
|\\`,` [ _]
[<.]
||`,` [__]
<[..]>
/|`,` [_ ]
[.>]
||`,` [ "]
[>_]
|\\`,` ['']
<[__]>
||`][c]+'\n-------',j*z)})(j++)
p[h='innerText']='"'+["You put your $ in","You take your $ out","And you shake it all about","You do the Hokey Pokey and you turn yourself around","That's what it's all about!"][l].replace('$',['right foot','left foot','right hand','left hand','whole self'][a])+'"'},i*y)})(i++)}
// run
_(8, 400, 50)