PeachDrawing
PeachDrawing.Filters.Turbulence
Turbulence.Render(RasterSurface, double, double, double, double, int, bool, bool, double, double, double, double) Method
Fills surface with the noise, sampling each pixel’s centre in user space (pixelsPerUserX pixels per user unit) and premultiplying the result, which the reference algorithm defines as straight colour.
public void Render(PeachDrawing.Core.RasterSurface surface, double pixelsPerUserX, double pixelsPerUserY, double baseFrequencyX, double baseFrequencyY, int octaves, bool fractalSum, bool stitching, double tileX, double tileY, double tileWidth, double tileHeight);
Parameters
surface RasterSurface
pixelsPerUserX System.Double
pixelsPerUserY System.Double
baseFrequencyX System.Double
baseFrequencyY System.Double
octaves System.Int32
fractalSum System.Boolean
stitching System.Boolean
tileX System.Double
tileY System.Double
tileWidth System.Double
tileHeight System.Double