1.0.5 • Published 7 years ago

heightmap-generator v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Heightmap-generator

Simple implementation of heightmap generation for video game terrain rendering. Demo here

alt tag

Installation

npm install heightmap-generator
import heightmap from 'heightmap-generator'
const noise = generateNoise(size, height, revert)
  • size: map size
  • height: Number of desired height level
  • revert: reverse colors
  • noise: output matrix

License

MIT

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago