AdvertiseWatchSubscribe
Updated , rescanned every two hoursThursday, December 3, 2026

▲ 277 today831 starsTypeScriptNew · 3d old

Drop-in WebComponent animates photos with real-time depth parallax

Image

antfu/img-auto-parallax: preview

What is img-auto-parallax?

img-auto-parallax is a custom <img> element that gives any picture a 3-D-like feel that moves with device tilt or scroll. It works in the browser using WebGPU, falling back to WebGL when needed.

Who it is for

Front-end developers can add instant interactive depth to images without heavy libraries.

Try it in 60 seconds

You need: Serve the page over HTTPS (or localhost) and use a browser with WebGPU support.

  1. pnpm install
  2. pnpm dev

New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.

The morning email · free

Get tomorrow's biggest AI launches before everyone else.

One short email each morning: what launched, why it matters, how to try it. Five minutes, no spam, unsubscribe any time.

The story so far

Early Signal first spotted antfu/img-auto-parallax on December 3, 2026, when it had 824 GitHub stars. It now has 831. On its busiest day it gained 277 stars. The project is 3 days old and written mainly in TypeScript. Early Signal files it under Image.

Questions about img-auto-parallax

How do I install img-auto-parallax?
Use one of these, depending on your setup: pnpm install · pnpm dev
What do I need to run img-auto-parallax?
Serve the page over HTTPS (or localhost) and use a browser with WebGPU support.

Get the signal first.

Join the list for the morning email: the day's biggest AI launches, explained in five minutes. Unsubscribe any time.

Prefer a reader? Follow the RSS feed.