UNPKG

gen-biome

Version:

Procedural generation of 2D maps with distinct biomes

10 lines (6 loc) 239 B
export const PERLIN_YWRAPB = 4; export const PERLIN_YWRAP = 1 << PERLIN_YWRAPB; export const PERLIN_ZWRAPB = 8; export const PERLIN_ZWRAP = 1 << PERLIN_ZWRAPB; export const PERLIN_AMP_FALLOFF = 0.5; export const PERLIN_AVG_POWER = 1.1;