feat(editor): add --gen-texture-zebra wavy-stripe pattern

46th procedural texture: zebra-print stripes — base
horizontal stripes with a sinusoidal y-shift in x so they
undulate organically rather than aligning to the row grid.
Two-color (bg + stripe) for the iconic black-on-white animal-
print effect. Each pixel computes y + amplitude*sin(2π*x/wavelength)
then mods by the stripe period.

Useful for animal-print fabric, savanna grass mats, tribal
clothing, fur tiles. Defaults to 24-px period with 8-px
amplitude on an 80-px wavelength wave.
This commit is contained in:
Kelsi 2026-05-09 10:03:27 -07:00
parent 32e7eef107
commit f6f5b7d9a0
3 changed files with 89 additions and 1 deletions

View file

@ -194,7 +194,7 @@ int main(int argc, char* argv[]) {
"--gen-texture-spider-web", "--gen-texture-gingham",
"--gen-texture-lattice", "--gen-texture-honeycomb",
"--gen-texture-cracked", "--gen-texture-runes",
"--gen-texture-leopard",
"--gen-texture-leopard", "--gen-texture-zebra",
"--validate-glb", "--info-glb", "--info-glb-tree", "--info-glb-bytes",
"--validate-jsondbc", "--check-glb-bounds", "--validate-stl",
"--validate-png", "--validate-blp",