@easemate/dom - Comprehensive Feature Demo

1. Basic Transform Animation

x: 0, y: 0, rotate: 0

2. Scale & Opacity

scale: 1, opacity: 1

3. Color Animation

backgroundColor: #667eea

4. Keyframe Sequence

Ready for keyframe animation

5. CSS Variables

--box-size: 50px, --box-radius: 8px

6. Filter Effects

Filter
blur: 0, brightness: 1, saturate: 1

7. Multiple Elements (Stagger-like)

8. Incremental Values (+=, -=, *=)

x: 0, scale: 1

9. Scroll Trigger (Reveal on Scroll)

Scroll down to see the reveal animation

Reveal

10. From/To Animation

Animates from off-screen

11. Relative Positioning (relativeConfig)

Uses relativeConfig against parent

12. Transform Origin Per Frame

transform-origin updates per frame

13. Driver Comparison (RAF vs WAAPI)

RAF
WAAPI
Driver selection will appear here

Console Output