More Related Content


State of the Animation

  1. with  @RachelNabors State of the Animation the
  3. All characters appearing in this work are fictitious. Any resemblance to real persons, living or dead, is purely coincidental.
  4. WEB ANIMATION HAS JUST BEGUN Flash  may  be  gone,  but  the  era  of
  5. Animation is a visual representation of a rate of change over time and space. 1me loca1on
  6. User  Interface   Designers
  7. Relationships Structure Cause & Effect Anima1on  guides  users  through  interac1ons  using…
  8. Sco$  E.  Hudson  and  John  T.  Stasko  (1993) “By offloading interpretation of changes to the perceptual system, animation allows the user to continue thinking about the task domain, with no need to shift contexts to the interface domain. By eliminating sudden visual changes, animation lessens the chance that the user is surprised.”
  9. Interac/on   Developers
  10. Animation is coming (back)
  11. Kinds of Animation
  12. Sta1c  Anima1ons
  13. Stateful  Anima1ons
  14. UI  credit:
  15. Dynamic  Anima1ons
  16. Credit:  CrowdStrike:  Alex  Graul,  Senior  UI  Developer
  17. Multiple States vs. Dynamic Animation
  18. Mul1-­‐state   Anima1on
  19. True  Dynamic   Anima1on
  20. .loaded-001 .loading-bar { width: 1%; } .loaded-002 .loading-bar { width: 2%; } .loaded-003 .loading-bar { width: 3%; } Ad  nauseum.
  21. Declarative vs. Reactive
  22. .spinner { transition: opacity 1s; opacity: 1; } .loaded .spinner { opacity: 0; } Declara1ve  CSS…  
  23. window.addEventListener("load", function load(event){ window.removeEventListener("load", load, false); body.classList.add("loaded"); },false); spinner.addEventListener("transitionend", removeSpinner, true); +  Reac1ve  JavaScript
  24. Credit:  Square:  Madelin  Woods
  25. Credit:  Square:  Madelin  Woods
  26. I can’t make a physics engine with that. This totally works!
  27. Anima/on  Library   Developers
  30. And then we can release it to the public? Sure, right after we catch up on client work!
  31. Animation History The Fall of Flash
  32. ?
  33. THE WEB ANIMATION API the  Greatest  API  You’ve  Never  Heard  of an
  34. Anima/on  Spec   Authors  &   Implementors
  36. But does it have… • Performant  anima6ons   • Mo6on  Paths   • Callbacks   • Nes6ng  &  sequencing     • Pause,  play,  reverse,  seek
  37. • Performant  anima6ons   • Mo6on  Paths   • Callbacks   • Nes6ng  &  sequencing     • Pause,  play,  reverse,  seek Well, actually, it does!
  39. I think I looked at it once. It was kinda long, wasn’t it? Web Animation API? What’s that? Meh. It’s been a few years.
  40. Support
  42. It’s “under consideration.” …
  43. Will no one think of the tablets?
  46. Performance
  48. Frame rate is an accessibility issue. Think of the accessibility!
  49. • Web  Anima6on  API  anima6ons  geEng  their  own   thread!*   • *So  long  as  the  anima6on  doesn’t  6e  into  any   things  happening  on  the  main  thread  like:   • JavaScript  (sorry  dynamic  anima6on)   • Layout   • It  varies  by  vendor. An  end  to  jank  (some  condi1ons  apply)!
  51. • Reflows  are  a  rendering  engine  problem. • opacity  &  transform  remain  safest  bet   • Browsers  keep  trying…   • See  also:  Google’s  Project  Ganesh  and  Mozilla’s   Servo Ge]ng  around  layout
  52. • The  CSS  property  will-change  is  a  start   • Promotes  things  to  their  own  layer   • The  end  of  translateZ(0) Shortcut  through  the  GPU
  53. FORWARD Pushing  the  web  (anima@ons)
  54. Browser support and performance!Tools! We need a timeline! The standardistas need to come down from their ivory towers! Show them how well it performs!
  55. What would you know about our problems? Why won’t you give us a chance?
  56. Animation is coming, whether we’re ready or not.
  57. Here’s the plan.
  58. User  Interface   Designers • Don’t  be  afraid  of  JavaScript   • Take  6me  to  play  with  the   libraries
  59. Interac/on   Developers • Check  out  the  polyfill’s  page   • Give  feedback
  60. Anima/on  Library   Developers • Go  read  the  spec   • Give  feedback
  61. Anima/on  Spec   Authors  &   Implementors • Find  be[er  ways  of  taking   feedback   • Meet  us  in  the  field
  62. Everyone.
  63. –John  Lasseter,  CCO  Pixar “The art challenges the technology, and the technology inspires the art.”
  64. We are not our tools.
  65. You  can  talk  to  me. Special Announcement
  66. Ongoing  coverage  at @RachelNabors  | #waapi