aframe-terrain-component
v0.1.0
Published
A-Frame generative terrain component
Downloads
3
Readme
aframe terrain component
this is an A-Frame component for generating a procedural landscape
parameters:
- width: width of the generated terrain plane
- height: height of the generated terrain plane
- flatRadius: flat area in the middle of the plane
- smoothness: smoothness of peaks in the terrain
- minHeight: minimum height of terrain (below 0 is under water)
- maxHeight: maximum height of terrain elements
- avgHeight: average height of the terrain
- distanceScale: higher values mean the terrain is flatter near the center
- colors: an array of colors for each layer of the terrain