Click or drag to resize
TurbulenceEffectFrequency Property
Base frequencies in the X and Y direction. Units are specified in 1/DIPs. Default value (0.01, 0.01).

Namespace:  Microsoft.Graphics.Canvas.Effects
Assembly:  Microsoft.Graphics.Canvas (in Microsoft.Graphics.Canvas.dll) Version: 0.0.0.0
Syntax
C#
public Vector2 Frequency { get; set; }

Property Value

Type: Vector2
Remarks

A value of 1 for the base frequency results in the Perlin noise completing an entire cycle between two pixels. The ease interpolation for these pixels results in completely random pixels, since there is no correlation between the pixels.

With a value of 0.1 for the base frequency, the Perlin noise function repeats every 10 DIPs. This results in correlation between pixels and the typical turbulence effect is visible.

See Also