Reactive Web Animations with RxJS
summary
Title promises practical results: code uses RxJS with DOM events, hammer.js for touch, requestAnimationFrame scheduling and a simple lerp smoothing reducer to make pointer-driven animations decay smoothly. Demos include responsive “goat” tilt, a color-changing chameleon whale via rx-css, drag‑and‑drop with physics-style springback and a small state machine for multi‑stage nav. Each example is implemented, composable, testable as observable streams, and runs smoothly in the browser.
AI-written summary · about
chapters (12)
- 0:00Start
- 4:35Why Do We Want To Make Reactive Animations
- 5:14Data Structure
- 7:27Rxjs
- 7:41Creating an Observable
- 9:17Range Observable
- 11:54Operators
- 16:49Animation Frames
- 17:00Observable Interval
- 18:36Linear Interpolation
- 24:51Why Animate with Observables
- 27:52Material Motion








