Lens strip

widgetsFreeMIT

A strip of pictures sliding behind a fixed lens of thick glass that magnifies the one in it, bends it at the bevelled rim with faint colour fringes, and smears it a little while moving. WebGL, with a DOM fallback.

npx shadcn@latest add https://mikkelmanniche.dk/lab/r/lens-strip.json
Width

Preview

The preview could not load.

Live demo in the dark theme.

Details

Files

  • lens-strip.tsx
  • use-carousel-engine.ts
  • use-gl-stage.ts
  • use-reduced-motion.ts