Module ...

Heightmap fractal generator This can be used to create rooms, levels, world maps, whatever

Functions

_M:generate () Actually creates the heightmap
_M:init (w, h, roughness, start) Creates the fractal generator for the specified heightmap size


Functions

_M:generate ()
Actually creates the heightmap
_M:init (w, h, roughness, start)
Creates the fractal generator for the specified heightmap size

Parameters

  • w:
  • h:
  • roughness:
  • start:

Valid XHTML 1.0!