Dog — pet behavior simulation
A dog with a state machine — runs to chase the cursor, sits when close, sleeps when idle. Click for a heart or a 'WOOF'.
How it works
State machine — idle, run (cursor far + moving), sit (cursor close), sleep (idle 5s+). Click → heart or "WOOF!" speech bubble. Sleep emits Z particles.