export declare const ISOFLOW_SKETCH = "\nfunction setup() {\n const bgMode = typeof backgroundMode !== 'undefined' ? backgroundMode : 'rgb';\n if (bgMode === 'white') background(245, 245, 245);\n else if (bgMode === 'black') background(10, 10, 10);\n else {\n const r = Math.floor((S.brightness / 100) * 255);\n const g = Math.floor((S.rhythmicity / 100) * 255);\n const b = Math.floor((S.harmonicity / 100) * 255);\n background(r, g, b);\n }\n\n const cx = width / 2;\n const cy = height / 2;\n const maxRadius = min(width, height) * 0.6;\n const layers = 3;\n const burstsPerLayer = Math.floor(map(S.rhythmicity, 0, 100, 20, 40));\n\n noFill();\n\n for (let l = 0; l < layers; l++) {\n const hue = map(l === 0 ? S.bass : (l === 1 ? S.brightness : S.treble), 0, 100, 0, 360);\n const alpha = map(l === 0 ? S.volume : (l === 1 ? S.aggression : S.dynamicRange), 0, 100, 0.7, 1);\n const sat = 85 + random() * 15;\n \n stroke('hsla(' + hue + ',' + sat + '%,95%,' + alpha + ')');\n strokeWeight(map(S.volume + l * 10, 0, 130, 1.2, 4.8));\n \n const radiusScale = map(S.dynamicRange + l * 20, 0, 150, 0.8, 1.4);\n const noiseAmp = map(S.aggression, 0, 100, 0.5, 3.0);\n const swirl = map(S.treble + l * 20, 0, 150, 0.3, 1.5);\n const rotSkew = map(S.harmonicity, 0, 100, -0.5, 0.5);\n const deformSkew = map(S.attack, 0, 100, -PI * 0.4, PI * 0.4);\n const centerJitter = map(S.bass, 0, 100, -60, 60);\n\n for (let b = 0; b < burstsPerLayer; b++) {\n const baseAngle = map(b + l * burstsPerLayer, 0, layers * burstsPerLayer, 0, PI * 2);\n const burstCount = Math.floor(map(S.volume + S.rhythmicity, 0, 200, 30, 90));\n \n for (let j = 0; j < burstCount; j++) {\n const angle = baseAngle + map(j, 0, burstCount, -0.02, 0.02);\n const ox = cx + cos(angle) * centerJitter;\n const oy = cy + sin(angle) * centerJitter;\n \n beginShape();\n for (let r0 = 0; r0 < maxRadius * radiusScale; r0 += 3) {\n const normR = r0 / maxRadius;\n const n = noise(cos(angle + rotSkew) * normR * noiseAmp, sin(angle + swirl) * normR * noiseAmp);\n const deform = map(n, 0, 1, -PI * swirl, PI * swirl) + deformSkew;\n const px = ox + cos(angle + deform) * r0;\n const py = oy + sin(angle + deform) * r0;\n vertex(px, py);\n }\n endShape();\n }\n }\n }\n}\n"; export default ISOFLOW_SKETCH; //# sourceMappingURL=isoflow.d.ts.map