Animation Choreographer — Webanimation

Saman dance studio: 20 levels of WAAPI: keyframes, cubic-bezier easing, stagger, FLIP, scroll-timeline and prefers-reduced-motion, live in an iframe sandbox.

What the levels ask

  1. The stage is still dark and Mbak Ratih waits in the middle of it: #ratih's own style is opacity: 0. Make her come out of the dark to full light over 1000 ms, then stay visible after Mas Tejo's kendang stops.
  2. Mbak Ratih waits in the dark at the left wing. In 1000 ms she must appear and ride 120 px to the right, both at once, then stay there.
  3. Tia rides 160 px to the right in 1000 ms. Her horse sets off slowly, is fastest in the middle, then brakes gently to stop right on the mark. Halfway through the time she is exactly halfway; at beat 250 she has barely moved.
  4. Tia rides 120 px in 1000 ms, but her horse is eager: it runs past the mark first and comes back to it right at the end. At the start it must not step back. Pick the cubic-bezier curve that dances like that.
  5. Mas Rizal may only set off after the opening drums, 500 ms from the start of the dance. Then he rides 120 px in 600 ms and stays there.
  6. Mbak Ratih rides 120 px to the right, Tia moves 40 px toward the audience. Both start together and finish together at beat 800.
  7. Mbak Ratih rides 100 px in 500 ms. Only then does Tia move 40 px (500 ms), right as Ratih stops, and both stay at their end places.
  8. Four children carry bamboo flags: each one comes up onto the stage (from 20 px below, appearing as they come) in 400 ms, one after another, each 100 ms after the one before. A child still waiting for their turn must already be out of sight, not standing there and then blinking away.
  9. For as long as the gamelan plays, Mas Rizal's horse sways 60 px to the right in 400 ms, then back in 400 ms, back and forth without stopping and without jumping back to the start.
  10. Kak Arum stands lit on the stage. After 300 ms her horse comes out of the dark and rears 12 px (500 ms). While she waits she must already be dark, and afterwards her horse stays reared.
  11. Mbak Ratih's costume makes her lean 45° (#ratih's own style is transform: rotate(45deg)). The animation from translateX(0px) to translateX(120px) must stack on top of it: her lean stays, and she rides along her lean, slanting down to the right, not straight to the right.
  12. In the new formation Tia moves to the right: her code sets tia.style.left = '144px' straight away (the Last place). For the audience to see her ride there rather than jump, start her animation from her old place (Invert) toward her new one in 500 ms (Play).

And more, 20 levels in all.