Shaders, WebGL & Creative Coding · WebGL image effects
img-auto-parallax
Drop-in <img-auto-parallax> web component that estimates depth on-device and turns any photo into a parallax scene that reacts to movement.
Why it’s a gem
One tag swap gives flat photos depth, with the depth model running locally on the device.
- Author
- @antfu
- Type
- GitHub repository
- License
- MIT
- Added
- Dec 2, 2026




