rsagl-0.6.0.1: The RogueStar Animation and Graphics Library

RSAGL.Modeling.Noise

Synopsis

Documentation

perlinTurbulence :: RSdouble -> Point3D -> Point3DSource

Turbulence function. Accepts an amplitude, which determines how intense turbulence will be. 'perlinTurbulence 0 == id'

perlinNoise :: Point3D -> RSdoubleSource

Generates an arbitrary, smoothly varying value between -1 and 1.