RedPerlin:
Filter:
redUniverse/Classes (extension) | Red > redUniverse > additional

RedPerlin
ExtensionExtension

a perlin noise generator

Description

A class that generates 1, 2 or 3 dimensional perlin noise. See http://freespace.virgin.net/hugo.elias/models/m_perlin.htm

Instance Methods

.noise1D

Return a float at location x. Cosine interpolation.

.noise2D

Return a float at location x, y. Cosine interpolation.

.noise3D

Return a float at location x, y, z. Interpolation not implemented

.spook

Inflicts the random seed.

Examples