0.1.0 • Published 1 year ago

aframe-terrain-component v0.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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
0.1.0

1 year ago