const WEAVE_CONFIG = { name: 'jacquard', gridX: 16, gridZ: 16, spacing: 0.85, threadRadius: 0.11, amplitude: 0.28, segments: 64, radialSeg: 12, warpColor: 0xf59e0b, weftColor: 0xfcd34d, pattern: function(i, j) { // Ромбовидный узор как пример жаккарда var cx = 7.5, cz = 7.5; var dist = Math.abs(i - cx) + Math.abs(j - cz); // Внутри ромба — длинные настилы основы if (dist < 5) return 1; // Снаружи — полотняное return ((i + j) % 2 === 0) ? 1 : -1; } };