feat(editor): add --gen-texture-circuit sci-fi PCB pattern

Solid PCB background plus N traces that walk the surface in
orthogonal Manhattan style — each trace alternates random
horizontal + vertical segments (3-6 segments per trace,
8-32 px each), with a 3×3 "via" dot at every corner so the
routing reads as intentional rather than random scribbles.

Defaults: traceCount=24, seed=1. Useful for sci-fi panels,
hacker zones, magitek/arcanocore set dressing, robot
texture details. Brings the procedural texture pattern set
to 30.
This commit is contained in:
Kelsi 2026-05-09 04:42:31 -07:00
parent 3967c8de57
commit 3e3ba5012b
3 changed files with 114 additions and 1 deletions

View file

@ -220,7 +220,7 @@ int main(int argc, char* argv[]) {
"--gen-texture-leather", "--gen-texture-sand", "--gen-texture-snow",
"--gen-texture-lava", "--gen-texture-tile", "--gen-texture-bark",
"--gen-texture-clouds", "--gen-texture-stars", "--gen-texture-vines",
"--gen-texture-mosaic", "--gen-texture-rust",
"--gen-texture-mosaic", "--gen-texture-rust", "--gen-texture-circuit",
"--validate-glb", "--info-glb", "--info-glb-tree", "--info-glb-bytes",
"--validate-jsondbc", "--check-glb-bounds", "--validate-stl",
"--validate-png", "--validate-blp",