2D array of points representing the grid.
Optional xOffset: number = 0X-offset for the texture.
Optional yOffset: number = 0Y-offset for the texture.
Optional textureCount: number = 400Number of textures to generate.
Optional shadow: number = 0Shade factor for additional shading.
Optional displacementFunction: (() => number) = ...Function to determine the displacement of each texture.
Optional noise: ((x) => number) = ...Function to determine the noise of each texture.
Optional length: number = 0.2Length factor for the textures.
An array of Elements.
Represents textured polylines based on a grid of points.