webgpu-lut-filter
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

webgpu-lut-filter · npm version

Use WebGL to render images based on LUT filter images(example).

Playground

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>
})

Dependents (0)

Package Sidebar

Install

npm i webgpu-lut-filter

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

8.9 kB

Total Files

4

Last publish

Collaborators

  • lijialiang
  • yyued