Skip to content

Releases: nmpowell/texture-generator

0.5.0

Choose a tag to compare

@nmpowell nmpowell released this 09 Sep 07:11

This release adds Python 3.12 and 3.13 support while retaining Python 3.14.
The runtime API and dependency bounds are unchanged.

  • CI now exercises locked and lowest-compatible dependencies across all three
    supported Python versions, and checks clean installs of both built artefacts.
  • CLI tests are more portable across supported Click punctuation and local shell
    versions, without weakening invalid-input checks.
  • The README now discloses the project's AI-generated content, personal use and
    experimental purpose.

Requires Python 3.12 or later:

pip install texture-generator==0.5.0

Full changelog

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.

texture-generator 0.3.0

Choose a tag to compare

@nmpowell nmpowell released this 08 Sep 07:50
87ebb80

First public release of texture-generator: procedural metal, plastic, wood and paper textures as Pillow images or NumPy arrays, with 18 variants and a command-line interface.

Requires Python 3.14 or later:

pip install texture-generator==0.3.0
texture-gen wood --variant board --size 640x480 --seed 42 -o wood.png

The Python import is texture_generators; the command is texture-gen. Includes batch rendering, JSON reports, sample galleries and documented material controls.

Apache-2.0 licensed. See the README, reference and changelog.