The x-axis offset.
The y-axis offset.
Optional
seed: number = 0The seed for the noise function. Default is 0.
Optional
height: number = 80The overall height of the rock. Default is 80.
Optional
shadow: number = 10The shape parameter affecting texture. Default is 10.
Optional
strokeWidth: number = 100The width of the rock. Default is 100.
An array of Elements.
Private
heightThe overall height of the rock. Default is 80.
Private
seedThe seed for the noise function. Default is 0.
Private
shadowThe shape parameter affecting texture. Default is 10.
Private
strokeThe width of the rock. Default is 100.
Private
xThe x-axis offset.
Private
yThe y-axis offset.
Represents a rock with varying heights and textures.