webgpu-lut-filter
v1.0.1
Published
Use WebGPU to render images based on LUT filter images
Downloads
7
Readme
webgpu-lut-filter ·
Use WebGL to render images based on LUT filter images(example).
CDN
<script src="https://cdn.jsdelivr.net/npm/webgpu-lut-filter/index.js"></script>
NPM
$ npm i webgpu-lut-filter
# or
$ yarn add webgpu-lut-filter
How to use
import lutFilter from 'webgpu-lut-filter'
lutFilter({
canvas: <HTMLCanvasElement>,
image: <HTMLImageElement>,
filterImage: <HTMLImageElement>
})