Clouds texture.

Namespace:  AForge.Imaging.Textures
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public class CloudsTexture : ITextureGenerator

Remarks

The texture generator creates textures with effect of clouds.

The generator is based on the Perlin noise function.

Sample usage:

CopyC#
// create texture generator
CloudsTexture textureGenerator = new CloudsTexture( );
// generate new texture
float[,] texture = textureGenerator.Generate( 320, 240 );
// convert it to image to visualize
Bitmap textureImage = TextureTools.ToBitmap( texture );

Result image:

Inheritance Hierarchy

System..::.Object
  AForge.Imaging.Textures..::.CloudsTexture

See Also