The old-school headache
- Sprite sheetsEvery frame drawn in Illustrator, laid side by side on one sheet, exactly one frame-width apart. Shift a frame by a pixel and the animation jumps.
steps(n)The keyframes slidebackground-positionandsteps(n)cuts it frame to frame: the cup fills insteps(11), 11 jumps of 84 px in 0.6 s.- AngularA click adds or removes one class (
paused,close,drinkMe) and the class swaps the animation. Route transitions written by hand.
About a weekChris's estimate, as an experiment; most of it drawing the frames