mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-03 13:41:43 -04:00
51st procedural texture: two interleaved sinusoidal strands running along the Y axis. Each strand's X position oscillates as W/4·sin(2π·y/period); the second strand is phase-shifted by π so the two snake around each other forming the classic helical twist of a tightened rope. Within each strand, brightness rises from 0.55 at the edge to 1.0 at the centerline (cos² falloff) — gives the rounded 3D appearance of cylindrical fibers without a separate shadow pass. Useful for hanging ropes, ship rigging, tied-bundle textures, suspension bridges, market-stall awning ties, and any "twisted cord" surface where a flat color would read as ribbon rather than rope. Default 24-pixel period with 8-pixel strands renders cleanly at 256x256 with about 10 visible twists.
201 KiB
201 KiB