Labirinth 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 LabyrinthTexture : ITextureGenerator

Remarks

The texture generator creates textures with effect of labyrinth.

The generator is based on the Perlin noise function.

Sample usage:

CopyC#
// create texture generator
LabyrinthTexture textureGenerator = new LabyrinthTexture( );
// 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..::.LabyrinthTexture

See Also