Dev Design Library

Img Duotone

Maps brightness onto a two-colour gradient that shifts through the spectrum.

Img Duotone preview
Library
Pixel Perfect
Framework
React
Type
block
License
MIT
Files
  • registry/new-york/shaders/img-duotone.tsx
  • registry/new-york/shaders/image-shader-canvas.tsx
  • registry/new-york/shaders/shader-canvas.tsx
  • registry/new-york/shaders/animated-texture.ts
Source
https://github.com/vansh-nagar/Pixel-Perfect

Categories

More from Pixel Perfect