~/talk

Reactive Animations with CSS Variables

Talkat JSConf Iceland 2016 · 2016-08-25..08-26· [web-animation, reactive-programming]
slides:none on file

Shows how CSS variables and RxJS combine to push event streams into style values: using event observables, element.style.setProperty, and a tiny glue library RX CSS (about 1.56 KB on npm) to drive animations. Live demos include mouse, scroll and touch pan mapped to CSS, claims of smooth 60 FPS with far fewer DOM writes, reuse across CSS/Canvas/WebGL, and progressive enhancement where IE/Edge fallback remains necessary.

AI-written summary · about

  1. 0:00Start
  2. 17:36CSS VARIABLES RXJS OBSERVABLES
  3. 22:07THINK OF RXJS AS LODASH FOR OBSERVABLES
  4. 23:38ARE YOU THINKING WHAT I'M THINKING?
  5. 23:52WHAT IF WE MODELED OBSERVABLE EVENTS AS CSS VARIABLES?
  6. 24:03WHAT IF WE COULD WRITE JAVASCRIPT IN CSS?
  7. 28:45WHY USE CSS VARIABLES?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.