mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-03 21:53:48 -04:00
77th procedural texture: base metal color overlaid with N short angled line segments brightened against the base. Each scratch is a hash-derived (cx, cy, length, angle) segment drawn via integer-stepped line walking from -len/2 to +len/2 along the angle. Useful for weathered armor, worn weapon blades (especially old swords / axes that have seen real use), well-used metal tools, salvaged hull plating, ancient relic surfaces, dwarven heirloom finishes. Default 100 scratches at maxLen=24 gives a moderately worn look on 256x256; bump scratchCount + maxLen for a heavily battle-scored aesthetic. Deterministic from seed.
86 KiB
86 KiB