1.0.8 • Published 2 years ago

heightmap-rgb-gen v1.0.8

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

heightmap-rgb-gen

Cli tool for generating heightmap from comma separated numbers

Installation

Use the package manager npm to install heightap-rgb-gen.

npm install heightmap-rgb-gen

Usage

Save a file called heightmap with csv numbers inside and run

npx heightmap-rgb-gen

Example

This file (heightmap)

0,4,2,6,3,0,1,6,8

generates this 3x3 pixel png

alt text

Example 2

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.

1.0.8

2 years ago

1.0.7

2 years ago

1.0.5

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago