Image gradient takes an image and generates a gradient like image based off of the colors that appear within it. Output directory is respective to the original image file.
npm i
node index.js images/test.jpeg
To change the configuration of the generated image, edit the values within index.js
// put your values here [width, height]
const size = [Number, Number];
let columns = <Number>;
Horizontal columns provide an interesting perspective, but can be disabled and the script will use solely vertical columns.
// false makes script only generate vertical columns
const useHorizontalColumns = <Boolean>;