Rendering image with LUT filter effect.
# yarn
yarn add lut-filter
# npm
npm install lut-filter
import lutFilter from 'lut-filter/webgl'
lutFilter({
canvas: <HTMLCanvasElement>,
image: <HTMLImageElement>,
filterImage: <HTMLImageElement>
})
import lutFilter from 'lut-filter/webgpu'
lutFilter({
canvas: <HTMLCanvasElement>,
image: <HTMLImageElement>,
filterImage: <HTMLImageElement>
})