Skip to content

linkgod/lut-canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lut-canvas

npm npm NPM

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

Live demo

https://linkgod.github.io/lut-canvas/

License

Licensed under MIT

About

Render RGB lookup tables to a canvas element

Resources

License

Stars

Watchers

Forks

Packages

No packages published