webgl-lut-filter
v1.1.1
Published
Use WebGL to render image based on LUT filter image
Downloads
6,767
Readme
WebGL LUT Filter
Use WebGL
to render image based on LUT filter image(example).
Install
CDN
<script src="https://unpkg.com/webgl-lut-filter/webgl-lut-filter.js"></script>
NPM
# yarn
yarn add webgl-lut-filter
# npm
npm install webgl-lut-filter
Usage
import lutFilter from 'webgl-lut-filter'
lutFilter({
canvas: <HTMLCanvasElement>,
image: <HTMLImageElement>,
filterImage: <HTMLImageElement>
})