Property BaseFrequency
- Namespace
- PaintDotNet.Direct2D1.Effects
- Assembly
- PaintDotNet.Windows.Core.dll
BaseFrequency
The base frequencies in the X and Y direction. This property is a float and must be greater than 0. The units are specified in 1/DIPs.
A value of 1 (1/DIPs) 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.
A value of 0.1(1/DIPs) 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.
The default value is { 0.01f, 0.01f }.
public EffectPropertyAccessor<Vector2Float> BaseFrequency { get; }