Document Solutions for PDF
DS.Documents.DX.Windows Assembly / GrapeCity.Documents.DX.Direct2D.Effects Namespace / Turbulence Class / BaseFrequency Property

In This Topic
    BaseFrequency Property
    In This Topic
    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
    Syntax
    'Declaration
     
    Public Property BaseFrequency As Vector2
    public Vector2 BaseFrequency {get; set;}
    See Also