Crate wood_grain[][src]

Structs

WoodProfile

Constants

BRIGHT_WOOD
WOOD_1

Functions

wood

  • width: width of the image to be generated
  • height: height of the image to be generated
  • offsetstdev: signifies how large the offset should be (the center of the wood grain is randomly shifted in the x and y directions).
  • length_scale: denotes the average length of spacing between grains in pixels.