Repository navigation
loomwork v0.5.0
loomwork v0.5.0 adds --periodic: a tile with no doubled line at the joins.
- The default cloth is mirrored, so the first and last lines are equal and tiling repeats one line at each join (and, at even sizes, down the middle of the tile). That is unchanged and still documented as a known limit. With
--periodicthe mirror lines fall on line 0 and the middle line instead, so the last line equals line 1 and no line is repeated at a join. At odd sizes the middle of the tile still has one doubled line. Neighbouring lines can still be equal by chance. The tile is still mirror-symmetric inside. - The same seed gives a different cloth with
--periodicthan without it. Output without the flag is byte-identical to v0.4.0 (compared on PNG, SVG, preview, sheet and the gallery and samples). python3 -I tools/check_tiling.py --periodicchecks the reflection and the middle line; the 600-combination run passed on the release commit, and mutants that break only the middle line make it fail. CI runs it on the latest Pillow.--periodicworks with--weave,--palette-from,--sheet,--previewand SVG output.- The README, tutorial, field note and essay pages mention it.
Known limits: the tiling check for the periodic variant runs in CI on one Pillow version (latest); nobody outside has used the option.