0.4.0
New features:
- Choose brushed-metal direction with
brush_anglein Python or--brush-anglein 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 explicitbrushedvariant; 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.pngfrom 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.