Cli tool for generating heightmap from comma separated numbers
Use the package manager npm to install heightmap-rgb-gen.
npm install heightmap-rgb-gen
Save a file called heightmap with csv numbers inside and run
npx heightmap-rgb-gen
This file (heightmap)
0,4,2,6,3,0,1,6,8
generates this 3x3 pixel png
npx heightmap-rgb-gen heightmap.txt 10 10 'faf450' '0254ff' 10
Requires a 100 comma separated numbers inside heightmap.txt file. It generates a png image heightmap.png of 10x10 pixels with 10 colors from #faf450 to #0254ff.