Happy wag

The happiest thing a dog does: the tail swinging from side to side, the ears flapping, a little bounce with every wag.

Use it in a cartoonChange it in the move makerWrite it in wordsThe pack file (JSON)

What it is for

Delight without a word: an owner coming home, a treat, a friend back. It is what Clap, Wave and Thumbs up play on four legs, and on a body with no tail it just bounces.

It loops for as long as its clip lasts: stretch the clip under someone else's line and the dog stays delighted while they talk, or cut it short for a quick flicker of joy.

The principle it shows: overlapping action

The tail swings to one side and back (its curl round to its side, from its root out) twice a second and more, the ears flap at their own pace and the body bounces twice to each wag. Because the parts keep their own times the animal looks loose and alive; all at one speed it would look like a wind-up toy.

The program, line by line

when it starts
  forever:
    show the side view
    at the same time:
      โ€” 1:
        glide tail 22, part:tail~out -45 over 0 s (inout)
        glide tail 22, part:tail~out 45 over 0.28 s (inout)
        glide tail 22, part:tail~out -45 over 0.28 s (inout)
      โ€” 2:
        glide left ear -4, right ear -4 over 0 s (inout)
        glide left ear 10, right ear 10 over 0.28 s (inout)
        glide left ear -4, right ear -4 over 0.28 s (inout)
      โ€” 3:
        glide dy 0 over 0 s (inout)
        glide dy -9.375 over 0.14 s (inout)
        glide dy 0 over 0.14 s (inout)
        glide dy -9.375 over 0.14 s (inout)
        glide dy 0 over 0.14 s (inout)
      โ€” 4:
        glide head -2 over 0 s (inout)
        glide head 4 over 0.28 s (inout)
        glide head -2 over 0.28 s (inout)
      โ€” 5:
        look happy

Try this

  1. Take 0.2 s over its first change instead of 0.14 s: a slower happy wag.

    In the program: ramp ยท over 0.14 โ†’ 0.2

  2. Sink the body to -12.2 instead of -9.375: a lower happy wag.

    In the program: ramp ยท to.dy -9.375 โ†’ -12.2

How it differs from the others

Whip tail swings the tail wider and slower, a swish; Happy hop bounces the whole front end.

Works on

The two in the film above, and what the move turns on each: worked out by the build, which plays the move on each body and checks what moves. Nobody types this table.
WhoMoves?What moves
Sunny (one of the six people)yeswhole body, turns, head
Grump (an animal on four legs)yeswhole body, head, tail, ears

c4c:beh:wag ยท version 1.0.0 ยท CC0 (public domain) ยท by Jabbertoon