lut-canvas
v0.1.0
Published
Render RGB lookup tables via canvas
Downloads
12
Readme
lut-canvas
Render RGB lookup tables via canvas.
Installation
npm i lut-canvas -S
Usage
import renderLut from 'lut-canvas';
// Simple usage
renderLut();
// Advanced usage
renderLut({
blockWidth: 64, // width of each color block
num: 64, // number of color blocks
row: 8, // number of rows of color blocks
}, document.body);
Sample
License
Licensed under MIT