Thanks to visit codestin.com
Credit goes to lib.haxe.org

noisehx

Generate Perlin noise.
https://github.com/madhoe/noisehx

To install, run:

haxelib install noisehx 0.0.1 

See using Haxelib in Haxelib documentation for more information.

README.md

About

noisehx is a teeny weeny library to generate Perlin noise. The code is a port of noisejs by Joseph Gentle,

which is based on Stefan Gustavson's implementation.

Setting up

To install, use the command: haxelib git noisehx https://github.com/madhoe/noisehx.git

Example

// If no seed passed into constructor, a random one is used.
var perlin:Perlin = new Perlin();

for (x in 0...100)
{
	for (y in 0...100)
	{
		var value:Float = perlin.noise2d(x / 10.0, y / 10.0);
		// Do stuff with it...
	}
}
Contributors
madhoe
Version
0.0.1
Published
11 years ago
License
Public

All libraries are free

Every month, more than a thousand developers use Haxelib to find, share, and reuse code — and assemble it in powerful new ways. Enjoy Haxe; It is great!

Explore Haxe

Haxe Manual

Haxe Code Cookbook

Haxe API documentation

You can try Haxe in the browser! try.haxe.org

Join us on GitHub!

Haxe is being developed on GitHub. Feel free to contribute or report issues to our projects.

Haxe on GitHub