Skip to content

0.4.0

Choose a tag to compare

@nmpowell nmpowell released this 08 Sep 12:37
46d57f9

New features:

  • Choose brushed-metal direction with brush_angle in Python or --brush-angle in the CLI. Degrees run clockwise in image coordinates: 0 horizontal, 90 vertical. The control follows grooves, scratches and directional reflection, including brushed metal with a film. Requires the explicit brushed variant; omitting the option retains the random direction and existing seeded output. #2
  • README previews and an executable notebook with separate PNGs, a complete results gallery, recipes and reproducible angle comparisons.

Requires Python 3.14 or later:

pip install texture-generator==0.4.0
texture-gen metal --variant brushed --brush-angle 90 --seed 42 -o vertical.png
from texture_generators import generate

image = generate("metal", size=(640, 480), seed=42, variant="brushed", brush_angle=90)
image.save("vertical.png")

See the reference, workflow notebook and results gallery.