generator

package
v0.0.0-...-ad9000f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiamondSquare

func DiamondSquare(base *[][]uint8, s int, r uint8) [][]uint8

Diamond-Square algorithm.

base: Heightmap
s: Size (s x s)
r: octave

Returns a heightmap size 2*s-1

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL