ASCIIGround - v1.3.0
    Preparing search index...

    Class PerlinNoisePattern

    Perlin noise implementation that provides smooth, organic-looking noise patterns. Supports multiple octaves for fractal noise generation.

    Hierarchy (View Summary)

    Index

    Accessors

    • get isDirty(): boolean

      Returns boolean

    • set isDirty(value: boolean): void

      Parameters

      • value: boolean

      Returns void

    Constructors

    Methods

    • Handle mouse interactions with the pattern. Override to implement custom mouse effects.

      Parameters

      • _x: number

        mouse X position relative to canvas.

      • _y: number

        mouse Y position relative to canvas.

      • _clicked: boolean

        Whether mouse was clicked this frame.

      Returns void

    Properties

    Options for the pattern, initialized with default values.

    _isDirty: boolean = false

    Flag indicating if the pattern needs to be re-rendered. This is set to true when pattern options change in a way that required re-render (e.g. color change).

    ID: "perlin-noise" = 'perlin-noise'

    Unique identifier for the pattern, that should be overridden in subclasses.