From 07106f5fa094b089ce20bbd5f5190eec113e2278 Mon Sep 17 00:00:00 2001 From: orfelorfel23 Date: Mon, 7 Sep 2026 19:29:10 +0200 Subject: [PATCH] feat: Overhaul audio dynamics, add 8 reactive particle modes and 16 genre presets --- public/app.js | 273 +++++++++++++++++---- public/index.html | 13 + public/presets/acid_techno_core.json | 82 +++++++ public/presets/amethyst_galaxy.json | 82 +++++++ public/presets/cyber_vortex.json | 82 +++++++ public/presets/deep_house_sunrise.json | 82 +++++++ public/presets/gamer_zone.json | 82 +++++++ public/presets/hardstyle_overdrive.json | 82 +++++++ public/presets/liquid_dnb_roller.json | 82 +++++++ public/presets/lofi_nostalgia.json | 82 +++++++ public/presets/metal_hellfire.json | 82 +++++++ public/presets/phonk_drifter.json | 82 +++++++ public/presets/reggae_dub_session.json | 82 +++++++ public/presets/rock_arena.json | 82 +++++++ public/presets/space_invader_arcade.json | 82 +++++++ public/presets/studio_mastering_suite.json | 82 +++++++ public/presets/synthwave_outrun.json | 82 +++++++ public/presets/zen_lotus.json | 82 +++++++ 18 files changed, 1556 insertions(+), 42 deletions(-) create mode 100644 public/presets/acid_techno_core.json create mode 100644 public/presets/amethyst_galaxy.json create mode 100644 public/presets/cyber_vortex.json create mode 100644 public/presets/deep_house_sunrise.json create mode 100644 public/presets/gamer_zone.json create mode 100644 public/presets/hardstyle_overdrive.json create mode 100644 public/presets/liquid_dnb_roller.json create mode 100644 public/presets/lofi_nostalgia.json create mode 100644 public/presets/metal_hellfire.json create mode 100644 public/presets/phonk_drifter.json create mode 100644 public/presets/reggae_dub_session.json create mode 100644 public/presets/rock_arena.json create mode 100644 public/presets/space_invader_arcade.json create mode 100644 public/presets/studio_mastering_suite.json create mode 100644 public/presets/synthwave_outrun.json create mode 100644 public/presets/zen_lotus.json diff --git a/public/app.js b/public/app.js index bac33d6..6b44d9a 100644 --- a/public/app.js +++ b/public/app.js @@ -474,16 +474,28 @@ // --- Particles Initializer & Pool --- function initParticles(count) { state.particles = []; + const w = state.width || 1920; + const h = state.height || 1080; for (let i = 0; i < count; i++) { + const angle = Math.random() * Math.PI * 2; + const dist = Math.random() * 500 + 40; state.particles.push({ - x: (Math.random() - 0.5) * state.width, - y: (Math.random() - 0.5) * state.height, + x: (Math.random() - 0.5) * w, + y: (Math.random() - 0.5) * h, z: Math.random() * 1000 + 100, - radius: Math.random() * 2.8 + 1.0, + radius: Math.random() * 3.0 + 1.2, alpha: Math.random() * 0.7 + 0.3, speedMultiplier: Math.random() * 0.8 + 0.6, vx: (Math.random() - 0.5) * 1.5, - vy: (Math.random() - 0.5) * 1.5 + vy: (Math.random() - 0.5) * 1.5, + angle: angle, + orbitRadius: dist, + orbitSpeed: (Math.random() * 0.018 + 0.008) * (Math.random() < 0.5 ? 1 : -1), + wobblePhase: Math.random() * Math.PI * 2, + wobbleSpeed: Math.random() * 0.05 + 0.02, + length: Math.random() * 16 + 8, + life: Math.random(), + maxLife: Math.random() * 120 + 80 }); } } @@ -1541,8 +1553,8 @@ // Ballistic Needle Physics Simulation (IEC 60268-17 VU response) const targetAngle = startAng + Math.max(0, Math.min(1.0, m.level)) * (endAng - startAng); - const spring = 0.20; - const damping = 0.72; + const spring = 0.26; + const damping = 0.68; state.vuMeter[m.velKey] = (state.vuMeter[m.velKey] + (targetAngle - state.vuMeter[m.needleKey]) * spring) * damping; state.vuMeter[m.needleKey] += state.vuMeter[m.velKey]; state.vuMeter[m.needleKey] = Math.max(startAng - 0.02, Math.min(endAng + 0.02, state.vuMeter[m.needleKey])); @@ -1718,9 +1730,43 @@ const midBassAvg = (midBassSum / 28) / 255; const trebleAvg = (trebleSum / 124) / 255; - const subBassEnergy = Math.min(1.0, subBassAvg * 1.3); - const midEnergy = Math.min(1.0, midBassAvg * 1.45); - const trebleEnergy = Math.min(1.0, trebleAvg * 2.1); + // Dynamic Bass Floor & Baseline Tracking (Adaptive Headroom Engine) + if (state._dynBassAvg === undefined) state._dynBassAvg = 0.3; + if (state._dynBassFloor === undefined) state._dynBassFloor = 0.15; + if (state._kickPunch === undefined) state._kickPunch = 0; + + if (isPlaying) { + // Dynamic baseline tracks current song loudness with gentle lag (prevents saturation on loud masters) + state._dynBassAvg = state._dynBassAvg * 0.93 + subBassAvg * 0.07; + // Moving noise floor tracks valleys + if (subBassAvg < state._dynBassFloor) { + state._dynBassFloor = subBassAvg; + } else { + state._dynBassFloor = state._dynBassFloor * 0.998 + subBassAvg * 0.002; + } + } else { + state._dynBassAvg = 0.2; + state._dynBassFloor = 0.1; + state._kickPunch = 0; + } + + const dynRange = Math.max(0.12, state._dynBassAvg - state._dynBassFloor); + // Transient kick onset: positive delta jumping sharply above the moving average + const onsetDelta = Math.max(0, subBassAvg - state._dynBassAvg * 1.04); + const instantPunch = Math.min(1.0, (onsetDelta / (dynRange * 0.42 + 0.02)) * 1.5); + + // Ballistic punch response (instant attack, clean punchy musical release) + if (instantPunch > state._kickPunch) { + state._kickPunch = instantPunch; + } else { + state._kickPunch *= 0.76; + } + + // Normalized dynamic energies (scaled against track's dynamic range) + const normBassVal = Math.max(0, (subBassAvg - state._dynBassFloor) / dynRange); + const subBassEnergy = Math.min(1.0, Math.pow(Math.min(1.2, normBassVal), 1.2) * 0.85 + state._kickPunch * 0.45); + const midEnergy = Math.min(1.0, Math.pow(midBassAvg, 1.1) * 1.35); + const trebleEnergy = Math.min(1.0, Math.pow(trebleAvg, 1.15) * 1.9); const fullMixEnergy = Math.min(1.0, (subBassEnergy * 0.5 + midEnergy * 0.3 + trebleEnergy * 0.2)); function getBandEnergy(route) { @@ -1737,8 +1783,8 @@ const rawBassEnergy = pulseEnergy; state.beatEnergy = rawBassEnergy; - // Target Pulse calculation with smooth attack/decay - const targetPulse = isPlaying ? (1.0 + (pulseEnergy * cfg.pulseIntensity * 0.6)) : 1.0; + // Target Pulse calculation with snappy kick punch onset and smooth attack/decay + const targetPulse = isPlaying ? (1.0 + (state._kickPunch * (cfg.pulseIntensity || 0.45) * 0.55) + (pulseEnergy * (cfg.pulseIntensity || 0.45) * 0.15)) : 1.0; const decay = cfg.pulseDecay || 0.8; if (targetPulse > state.currentPulse) { state.currentPulse = targetPulse; @@ -1861,42 +1907,95 @@ targetCtx.translate(width / 2 + shakeX, height / 2 + shakeY); targetCtx.scale(shakeZoom, shakeZoom); - // --- LAYER 4: Particle System (3D Starfield / Dust / Sparks) --- + // --- LAYER 4: Particle System (8 High-Reactivity Modes) --- if (cfg.enableParticles && state.particles.length > 0) { targetCtx.save(); const pType = cfg.particleType || 'starfield'; - const speedMult = cfg.particleSpeed * (1.0 + (particleEnergy * cfg.particleWarp)); + const reactivity = cfg.particleAudioReactivity !== undefined ? cfg.particleAudioReactivity : 1.5; + const kickPunch = state._kickPunch || 0; + const speedMult = cfg.particleSpeed * (1.0 + (particleEnergy * cfg.particleWarp * reactivity * 0.5)); + const isTransparentMode = (cfg.backgroundMode === 'transparent'); for (let i = 0; i < state.particles.length; i++) { const p = state.particles[i]; if (isPlaying) { if (pType === 'starfield') { - p.z -= speedMult * p.speedMultiplier * 6; + p.z -= speedMult * p.speedMultiplier * (5.5 + kickPunch * 8.0 * reactivity); if (p.z <= 10) { p.z = 1000; p.x = (Math.random() - 0.5) * width; p.y = (Math.random() - 0.5) * height; } } else if (pType === 'dust') { - p.x += p.vx * speedMult; - p.y += p.vy * speedMult; + p.x += p.vx * speedMult * (1.0 + midEnergy * 0.8 * reactivity); + p.y += p.vy * speedMult * (1.0 + midEnergy * 0.8 * reactivity); if (p.x < -width / 2) p.x = width / 2; if (p.x > width / 2) p.x = -width / 2; if (p.y < -height / 2) p.y = height / 2; if (p.y > height / 2) p.y = -height / 2; } else if (pType === 'sparks') { - p.x += p.vx * speedMult * (1 + rawBassEnergy * 3); - p.y += p.vy * speedMult * (1 + rawBassEnergy * 3); + const sparkBoost = 1.0 + (kickPunch * 4.5 + trebleEnergy * 2.0) * reactivity; + p.x += p.vx * speedMult * sparkBoost; + p.y += p.vy * speedMult * sparkBoost; if (Math.hypot(p.x, p.y) > width * 0.6) { - p.x = (Math.random() - 0.5) * (cfg.circleRadius || 100); - p.y = (Math.random() - 0.5) * (cfg.circleRadius || 100); + const initR = (cfg.circleRadius || 100) * (0.4 + Math.random() * 0.6); + const initA = Math.random() * Math.PI * 2; + p.x = Math.cos(initA) * initR; + p.y = Math.sin(initA) * initR; + p.vx = Math.cos(initA) * (Math.random() * 2.5 + 1.0); + p.vy = Math.sin(initA) * (Math.random() * 2.5 + 1.0); + } + } else if (pType === 'vortex') { + // Swirling cosmic vortex around center + const rotVel = p.orbitSpeed * speedMult * (1.0 + kickPunch * 3.0 * reactivity); + p.angle += rotVel; + p.orbitRadius -= (0.45 * speedMult) - (kickPunch * 8.0 * reactivity); + if (p.orbitRadius < 40) { + p.orbitRadius = Math.max(width, height) * (0.45 + Math.random() * 0.25); + } else if (p.orbitRadius > Math.max(width, height) * 0.75) { + p.orbitRadius = 45; + } + p.x = Math.cos(p.angle) * p.orbitRadius; + p.y = Math.sin(p.angle) * p.orbitRadius; + } else if (pType === 'bubbles') { + // Gentle rising bubbles with audio wobble and beat expansion + p.y -= (p.speedMultiplier * 1.8 * speedMult) * (1.0 + (midEnergy + kickPunch) * 1.5 * reactivity); + p.wobblePhase += p.wobbleSpeed * (1.0 + midEnergy * reactivity); + if (p.y < -height / 2 - 30) { + p.y = height / 2 + 30; + p.x = (Math.random() - 0.5) * width * 0.95; + } + } else if (pType === 'embers') { + // High-energy rising fire sparks / glowing embers + const emberRise = (p.speedMultiplier * 2.8 * speedMult) * (1.0 + kickPunch * 3.5 * reactivity); + p.y -= emberRise; + p.x += Math.sin(currentTime * 4 + i) * (1.5 + kickPunch * 3.0 * reactivity); + p.life -= 0.014 * (1.0 + kickPunch * reactivity); + if (p.life <= 0 || p.y < -height / 2 - 20) { + p.y = height / 2 + 20 + Math.random() * 40; + p.x = (Math.random() - 0.5) * width * 0.85; + p.life = 1.0; + } + } else if (pType === 'digital_rain') { + // Matrix-like falling digital rain cascades + const streamFall = (p.speedMultiplier * 8.0 * speedMult) * (1.0 + trebleEnergy * 2.2 * reactivity); + p.y += streamFall; + if (p.y > height / 2 + p.length) { + p.y = -height / 2 - Math.random() * 60; + const colWidth = 24; + p.x = (Math.floor(Math.random() * (width / colWidth)) * colWidth) - width / 2; + } + } else if (pType === 'shockwave_blast') { + // Concentric shockwave blast expanding outwards with kick punches + p.orbitRadius += (p.speedMultiplier * 5.0 * speedMult) * (1.0 + kickPunch * 5.0 * reactivity); + if (p.orbitRadius > Math.max(width, height) * 0.65) { + p.orbitRadius = (cfg.circleRadius || 120) * 0.6 + Math.random() * 30; } } } - const isTransparentMode = (cfg.backgroundMode === 'transparent'); - + // Render particles if (pType === 'starfield') { const k = 400 / p.z; const px = p.x * k; @@ -1906,7 +2005,6 @@ if (Math.abs(px) < width / 2 && Math.abs(py) < height / 2) { let pAlpha = p.alpha * (1 - p.z / 1000); if (isTransparentMode) { - // In transparent mode, skip ultra-faint distant particles to prevent lossy VP9 macroblock artifacts if (pAlpha < 0.22 || p.z > 750) continue; pAlpha = Math.max(0.5, pAlpha); } @@ -1917,7 +2015,7 @@ targetCtx.fill(); } } else if (pType === 'dust') { - let pAlpha = p.alpha * 0.6; + let pAlpha = p.alpha * 0.65; if (isTransparentMode) { if (pAlpha < 0.22) continue; pAlpha = Math.max(0.5, pAlpha); @@ -1928,15 +2026,83 @@ targetCtx.arc(p.x, p.y, p.radius, 0, Math.PI * 2); targetCtx.fill(); } else if (pType === 'sparks') { - let pAlpha = p.alpha * (0.8 + rawBassEnergy * 0.5); - if (isTransparentMode) { - pAlpha = Math.max(0.6, pAlpha); - } + let pAlpha = p.alpha * (0.8 + kickPunch * 0.5); + if (isTransparentMode) pAlpha = Math.max(0.6, pAlpha); targetCtx.fillStyle = cfg.colorParticle || '#ffffff'; targetCtx.globalAlpha = Math.min(1.0, pAlpha); targetCtx.beginPath(); - targetCtx.arc(p.x, p.y, p.radius * 1.2, 0, Math.PI * 2); + targetCtx.arc(p.x, p.y, p.radius * (1.0 + kickPunch * 0.8), 0, Math.PI * 2); targetCtx.fill(); + } else if (pType === 'vortex') { + let pAlpha = p.alpha * (0.65 + kickPunch * 0.35); + if (isTransparentMode) pAlpha = Math.max(0.55, pAlpha); + targetCtx.save(); + targetCtx.translate(p.x, p.y); + targetCtx.rotate(p.angle + Math.PI / 2); + targetCtx.strokeStyle = cfg.colorParticle || '#ffffff'; + targetCtx.globalAlpha = Math.min(1.0, pAlpha); + targetCtx.lineWidth = Math.max(1.2, p.radius * 0.8); + targetCtx.beginPath(); + targetCtx.moveTo(0, -p.length * (0.6 + kickPunch * 0.4)); + targetCtx.lineTo(0, p.length * (0.6 + kickPunch * 0.4)); + targetCtx.stroke(); + targetCtx.restore(); + } else if (pType === 'bubbles') { + const wobbleX = p.x + Math.sin(p.wobblePhase) * 16; + let pAlpha = p.alpha * 0.75; + if (isTransparentMode) pAlpha = Math.max(0.5, pAlpha); + const bRadius = p.radius * 2.2 * (1.0 + kickPunch * 0.35); + targetCtx.strokeStyle = cfg.colorParticle || '#ffffff'; + targetCtx.lineWidth = 1.4; + targetCtx.globalAlpha = Math.min(1.0, pAlpha); + targetCtx.beginPath(); + targetCtx.arc(wobbleX, p.y, bRadius, 0, Math.PI * 2); + targetCtx.stroke(); + // Highlight shine spot + targetCtx.fillStyle = '#ffffff'; + targetCtx.globalAlpha = Math.min(1.0, pAlpha * 0.8); + targetCtx.beginPath(); + targetCtx.arc(wobbleX - bRadius * 0.35, p.y - bRadius * 0.35, Math.max(0.8, bRadius * 0.22), 0, Math.PI * 2); + targetCtx.fill(); + } else if (pType === 'embers') { + let pAlpha = Math.max(0, p.life) * (0.75 + kickPunch * 0.4); + if (isTransparentMode) pAlpha = Math.max(0.55, pAlpha); + const eSize = p.radius * (0.8 + (1 - p.life) * 0.5 + kickPunch * 0.6); + targetCtx.fillStyle = cfg.colorParticle || '#ffaa44'; + targetCtx.globalAlpha = Math.min(1.0, pAlpha); + targetCtx.beginPath(); + targetCtx.arc(p.x, p.y, eSize, 0, Math.PI * 2); + targetCtx.fill(); + } else if (pType === 'digital_rain') { + let pAlpha = p.alpha * (0.7 + trebleEnergy * 0.4); + if (isTransparentMode) pAlpha = Math.max(0.55, pAlpha); + const trailLen = p.length * (1.2 + trebleEnergy * 1.5); + targetCtx.strokeStyle = cfg.colorParticle || '#00ff88'; + targetCtx.lineWidth = Math.max(1.5, p.radius * 0.8); + targetCtx.globalAlpha = Math.min(1.0, pAlpha); + targetCtx.beginPath(); + targetCtx.moveTo(p.x, p.y - trailLen); + targetCtx.lineTo(p.x, p.y); + targetCtx.stroke(); + // Leading bright matrix head + targetCtx.fillStyle = '#ffffff'; + targetCtx.globalAlpha = Math.min(1.0, pAlpha * 1.2); + targetCtx.beginPath(); + targetCtx.arc(p.x, p.y, Math.max(1.2, p.radius * 0.7), 0, Math.PI * 2); + targetCtx.fill(); + } else if (pType === 'shockwave_blast') { + const maxDist = Math.max(width, height) * 0.65; + let pAlpha = Math.max(0, 1.0 - (p.orbitRadius / maxDist)) * (0.6 + kickPunch * 0.4); + if (isTransparentMode) { + if (pAlpha < 0.2) continue; + pAlpha = Math.max(0.45, pAlpha); + } + targetCtx.strokeStyle = cfg.colorParticle || '#ffffff'; + targetCtx.lineWidth = Math.max(1.2, 3.5 * (1.0 - p.orbitRadius / maxDist)); + targetCtx.globalAlpha = Math.min(1.0, pAlpha); + targetCtx.beginPath(); + targetCtx.arc(0, 0, p.orbitRadius, 0, Math.PI * 2); + targetCtx.stroke(); } } targetCtx.restore(); @@ -1955,6 +2121,15 @@ const processedBarsL = []; const processedBarsR = []; + // Dynamic peak headroom tracker across frequency spectrum + let frameMaxRaw = 0.01; + for (let i = 0; i < binCount; i += 4) { + const v = (fMono[i] || 0) / 255; + if (v > frameMaxRaw) frameMaxRaw = v; + } + if (state._dynSpectrumPeak === undefined) state._dynSpectrumPeak = 0.85; + state._dynSpectrumPeak = Math.max(0.45, Math.max(state._dynSpectrumPeak * 0.965, frameMaxRaw)); + for (let i = 0; i < barCount; i++) { let freqIndex; if (cfg.mirrorSpectrum) { @@ -1973,9 +2148,19 @@ const valL = (fLeft[freqIndex] || 0) / 255; const valR = (fRight[freqIndex] || 0) / 255; - const heightVal = Math.pow(val, 1.2) * maxHeight * sensitivity; - const heightValL = Math.pow(valL, 1.2) * maxHeight * sensitivity; - const heightValR = Math.pow(valR, 1.2) * maxHeight * sensitivity; + // Equal-loudness Pink-Noise Tilt (boosts higher frequencies naturally to balance raw sub-bass) + const normIdx = i / barCount; + const tilt = 0.82 + Math.pow(normIdx, 0.55) * 0.65; + const headLimit = state._dynSpectrumPeak * 1.05; + + const normM = Math.min(1.0, (val * tilt) / headLimit); + const normL = Math.min(1.0, (valL * tilt) / headLimit); + const normR = Math.min(1.0, (valR * tilt) / headLimit); + + // Height with 95% ceiling protection - never clips flat into the ceiling! + const heightVal = Math.min(maxHeight * 0.95, Math.pow(normM, 1.35) * maxHeight * (sensitivity * 0.92)); + const heightValL = Math.min(maxHeight * 0.95, Math.pow(normL, 1.35) * maxHeight * (sensitivity * 0.92)); + const heightValR = Math.min(maxHeight * 0.95, Math.pow(normR, 1.35) * maxHeight * (sensitivity * 0.92)); processedBars.push(Math.max(2, heightVal)); processedBarsL.push(Math.max(2, heightValL)); @@ -2009,6 +2194,7 @@ // 5.0 SPECIAL SHAPE: Dual Analog VU-Meter if (shape === 'vumeter') { + if (state._vuRefRms === undefined) state._vuRefRms = 0.22; function computeChannelVuLevel(fArray) { if (!isPlaying || !fArray || fArray.length === 0) return 0; let sumSq = 0; @@ -2017,20 +2203,17 @@ for (let b = 1; b < maxBin; b++) { const val = fArray[b] / 255; // Perceptual weighting: mid-frequencies (bins 8-50, ~200Hz - ~2.5kHz) carry most musical energy - const w = (b >= 8 && b <= 50) ? 1.4 : (b < 8 ? 0.9 : 0.6); + const w = (b >= 8 && b <= 50) ? 1.5 : (b < 8 ? 0.85 : 0.65); sumSq += (val * val) * w; weightSum += w; } const rms = Math.sqrt(sumSq / Math.max(1, weightSum)); if (rms < 0.015) return 0; - const dbApprox = 20 * Math.log10(rms); - // Calibrated IEC VU scale: - // Silence (below -28 dBFS) -> 0.0 (-20 VU) - // Quiet verse (-20 dBFS) -> ~0.30 (-10 VU) - // Medium groove (-12 dBFS) -> ~0.62 (-4 VU) - // Loud chorus (-6.5 dBFS) -> ~0.83 (0 VU reference mark) - // Hard peak / drop (-2 dBFS) -> ~1.00 (+3 VU overload) - const norm = (dbApprox + 28) / 26; + // Floating dynamic loudness baseline adapts smoothly so needle never stays glued to 100% + state._vuRefRms = state._vuRefRms * 0.985 + rms * 0.015; + const ratio = rms / Math.max(0.01, state._vuRefRms); + // 0.72 corresponds to nominal 0 VU mark when ratio == 1.0 + const norm = 0.72 + Math.log10(Math.max(0.04, ratio)) * 0.85; return Math.max(0, Math.min(1.0, norm)); } @@ -2608,7 +2791,7 @@ } baseY += offsetY; - const textPulse = cfg.textPulseWithBeat ? (1.0 + rawBassEnergy * 0.05) : 1.0; + const textPulse = cfg.textPulseWithBeat ? (1.0 + (state._kickPunch || 0) * (cfg.pulseIntensity || 0.45) * 0.12) : 1.0; targetCtx.translate(width / 2, baseY); targetCtx.scale(textPulse, textPulse); @@ -2814,6 +2997,7 @@ state.config.particleCount = parseInt(document.getElementById('particleCount').value, 10); state.config.particleSpeed = parseFloat(document.getElementById('particleSpeed').value); state.config.particleWarp = parseFloat(document.getElementById('particleWarp').value); + state.config.particleAudioReactivity = parseFloat(document.getElementById('particleAudioReactivity')?.value ?? 1.5); state.config.enableGrid = document.getElementById('enableGrid').checked; state.config.colorGrid = document.getElementById('colorGrid').value; @@ -2967,6 +3151,8 @@ document.getElementById('valParticleCount').textContent = state.config.particleCount; document.getElementById('valParticleSpeed').textContent = `${state.config.particleSpeed}x`; document.getElementById('valParticleWarp').textContent = `${state.config.particleWarp}x`; + const valParticleReactivity = document.getElementById('valParticleAudioReactivity'); + if (valParticleReactivity) valParticleReactivity.textContent = `${(state.config.particleAudioReactivity ?? 1.5).toFixed(1)}x`; document.getElementById('valGridPerspective').textContent = `${Math.round(state.config.gridPerspective * 100)}%`; document.getElementById('valGridAudioReactive').textContent = `${Math.round(state.config.gridAudioReactive * 100)}%`; document.getElementById('valCamShakeIntensity').textContent = `${Math.round(state.config.camShakeIntensity * 100)}%`; @@ -3105,6 +3291,9 @@ document.getElementById('particleCount').value = state.config.particleCount || 100; document.getElementById('particleSpeed').value = state.config.particleSpeed || 1.0; document.getElementById('particleWarp').value = state.config.particleWarp || 2.5; + if (document.getElementById('particleAudioReactivity')) { + document.getElementById('particleAudioReactivity').value = state.config.particleAudioReactivity !== undefined ? state.config.particleAudioReactivity : 1.5; + } document.getElementById('enableGrid').checked = !!state.config.enableGrid; document.getElementById('colorGrid').value = state.config.colorGrid || '#ff007f'; diff --git a/public/index.html b/public/index.html index 7b764af..73d4151 100644 --- a/public/index.html +++ b/public/index.html @@ -837,6 +837,11 @@ + + + + + @@ -863,6 +868,14 @@ 2.5x + +
+ +
+ + 1.5x +
+
diff --git a/public/presets/acid_techno_core.json b/public/presets/acid_techno_core.json new file mode 100644 index 0000000..0785a2e --- /dev/null +++ b/public/presets/acid_techno_core.json @@ -0,0 +1,82 @@ +{ + "name": "Acid Techno Core", + "icon": "โœก๏ธ", + "shapeType": "hexagram", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.65, + "pulseDecay": 0.74, + "showBorder": true, + "borderWidth": 5, + "borderColor": "#ccff00", + "showProgressRing": true, + "progressRingColor": "#ff00aa", + "progressRingWidth": 5, + "rotationSpeed": 2.2, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 110, + "spectrumMaxHeight": 140, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.35, + "freqFocus": "bass_heavy", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "sub_bass", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 145, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "shockwave_blast", + "particleCount": 100, + "particleSpeed": 1.5, + "particleWarp": 3.0, + "particleAudioReactivity": 2.5, + "enableGrid": true, + "colorGrid": "#ccff00", + "gridPerspective": 0.65, + "gridAudioReactive": 0.6, + "enableShake": true, + "camShakeIntensity": 0.45, + "enableGlitch": true, + "rgbSplitIntensity": 0.28, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.8, + "afterglowMode": "green_phosphor", + "colorMode": "gradient_3", + "colorGrad1": "#ccff00", + "colorGrad2": "#ff00aa", + "colorGrad3": "#00ffff", + "colorParticle": "#ccff00", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.9, + "glowBlur": 26, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ccff00", + "timecodeColor": "#ff00aa" +} diff --git a/public/presets/amethyst_galaxy.json b/public/presets/amethyst_galaxy.json new file mode 100644 index 0000000..31dbe87 --- /dev/null +++ b/public/presets/amethyst_galaxy.json @@ -0,0 +1,82 @@ +{ + "name": "Amethyst Galaxy", + "icon": "๐Ÿ’Ž", + "shapeType": "diamond", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.5, + "pulseDecay": 0.8, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#b84dff", + "showProgressRing": true, + "progressRingColor": "#00f0ff", + "progressRingWidth": 5, + "rotationSpeed": 1.3, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 100, + "spectrumMaxHeight": 135, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.3, + "freqFocus": "balanced", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 128, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "starfield", + "particleCount": 110, + "particleSpeed": 1.1, + "particleWarp": 2.4, + "particleAudioReactivity": 1.5, + "enableGrid": true, + "colorGrid": "#b84dff", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": true, + "camShakeIntensity": 0.35, + "enableGlitch": false, + "rgbSplitIntensity": 0.2, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.82, + "afterglowMode": "magenta_burn", + "colorMode": "gradient_3", + "colorGrad1": "#b84dff", + "colorGrad2": "#e066ff", + "colorGrad3": "#00f0ff", + "colorParticle": "#e066ff", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.85, + "glowBlur": 24, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#e066ff", + "timecodeColor": "#00f0ff" +} diff --git a/public/presets/cyber_vortex.json b/public/presets/cyber_vortex.json new file mode 100644 index 0000000..f90a683 --- /dev/null +++ b/public/presets/cyber_vortex.json @@ -0,0 +1,82 @@ +{ + "name": "Cyber Vortex", + "icon": "๐ŸŒ€", + "shapeType": "tunnel", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.55, + "pulseDecay": 0.8, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#00f0ff", + "showProgressRing": true, + "progressRingColor": "#ff007f", + "progressRingWidth": 5, + "rotationSpeed": 2.0, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 110, + "spectrumMaxHeight": 135, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.3, + "freqFocus": "balanced", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "mids", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 128, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "vortex", + "particleCount": 110, + "particleSpeed": 1.2, + "particleWarp": 2.6, + "particleAudioReactivity": 1.8, + "enableGrid": true, + "colorGrid": "#7000ff", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": true, + "camShakeIntensity": 0.35, + "enableGlitch": true, + "rgbSplitIntensity": 0.22, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.82, + "afterglowMode": "cyan_neon", + "colorMode": "gradient_3", + "colorGrad1": "#00f0ff", + "colorGrad2": "#7000ff", + "colorGrad3": "#ff007f", + "colorParticle": "#00f0ff", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.85, + "glowBlur": 25, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#00f0ff", + "timecodeColor": "#ff007f" +} diff --git a/public/presets/deep_house_sunrise.json b/public/presets/deep_house_sunrise.json new file mode 100644 index 0000000..df1b1cd --- /dev/null +++ b/public/presets/deep_house_sunrise.json @@ -0,0 +1,82 @@ +{ + "name": "Deep House Sunrise", + "icon": "โ˜€๏ธ", + "shapeType": "sun", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.45, + "pulseDecay": 0.82, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#ff8c00", + "showProgressRing": true, + "progressRingColor": "#ffd700", + "progressRingWidth": 5, + "rotationSpeed": 1.0, + "beatSpinImpulse": false, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 96, + "spectrumMaxHeight": 125, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.2, + "freqFocus": "balanced", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 124, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "dust", + "particleCount": 80, + "particleSpeed": 0.8, + "particleWarp": 1.6, + "particleAudioReactivity": 1.2, + "enableGrid": false, + "colorGrid": "#ff8c00", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": false, + "camShakeIntensity": 0.25, + "enableGlitch": false, + "rgbSplitIntensity": 0.15, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.8, + "afterglowMode": "amber_decay", + "colorMode": "gradient_3", + "colorGrad1": "#ff4500", + "colorGrad2": "#ff8c00", + "colorGrad3": "#ffd700", + "colorParticle": "#ffe4b5", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.8, + "glowBlur": 24, + "laserCore": false, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ff8c00", + "timecodeColor": "#ffd700" +} diff --git a/public/presets/gamer_zone.json b/public/presets/gamer_zone.json new file mode 100644 index 0000000..801cede --- /dev/null +++ b/public/presets/gamer_zone.json @@ -0,0 +1,82 @@ +{ + "name": "Gamer Zone", + "icon": "๐ŸŽฎ", + "shapeType": "gamepad", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.55, + "pulseDecay": 0.78, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#ffd700", + "showProgressRing": true, + "progressRingColor": "#00ffff", + "progressRingWidth": 5, + "rotationSpeed": 1.4, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 100, + "spectrumMaxHeight": 135, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.3, + "freqFocus": "balanced", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 130, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "sparks", + "particleCount": 100, + "particleSpeed": 1.2, + "particleWarp": 2.5, + "particleAudioReactivity": 1.6, + "enableGrid": true, + "colorGrid": "#ffd700", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": true, + "camShakeIntensity": 0.35, + "enableGlitch": true, + "rgbSplitIntensity": 0.2, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.8, + "afterglowMode": "cyan_neon", + "colorMode": "gradient_3", + "colorGrad1": "#ffd700", + "colorGrad2": "#00ffff", + "colorGrad3": "#ff0055", + "colorParticle": "#ffffff", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.85, + "glowBlur": 24, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ffd700", + "timecodeColor": "#00ffff" +} diff --git a/public/presets/hardstyle_overdrive.json b/public/presets/hardstyle_overdrive.json new file mode 100644 index 0000000..9b4b030 --- /dev/null +++ b/public/presets/hardstyle_overdrive.json @@ -0,0 +1,82 @@ +{ + "name": "Hardstyle Overdrive", + "icon": "โšก", + "shapeType": "lightning", + "showCover": true, + "coverShape": "circle", + "circleRadius": 150, + "pulseIntensity": 0.7, + "pulseDecay": 0.72, + "showBorder": true, + "borderWidth": 5, + "borderColor": "#39ff14", + "showProgressRing": true, + "progressRingColor": "#00f0ff", + "progressRingWidth": 5, + "rotationSpeed": 2.0, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 110, + "spectrumMaxHeight": 145, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.4, + "freqFocus": "bass_heavy", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "sub_bass", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 150, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "shockwave_blast", + "particleCount": 120, + "particleSpeed": 1.6, + "particleWarp": 3.2, + "particleAudioReactivity": 2.8, + "enableGrid": true, + "colorGrid": "#39ff14", + "gridPerspective": 0.65, + "gridAudioReactive": 0.6, + "enableShake": true, + "camShakeIntensity": 0.5, + "enableGlitch": true, + "rgbSplitIntensity": 0.3, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.8, + "afterglowMode": "green_phosphor", + "colorMode": "gradient_3", + "colorGrad1": "#39ff14", + "colorGrad2": "#00f0ff", + "colorGrad3": "#ff0055", + "colorParticle": "#39ff14", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.9, + "glowBlur": 26, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#39ff14", + "timecodeColor": "#00f0ff" +} diff --git a/public/presets/liquid_dnb_roller.json b/public/presets/liquid_dnb_roller.json new file mode 100644 index 0000000..19a071a --- /dev/null +++ b/public/presets/liquid_dnb_roller.json @@ -0,0 +1,82 @@ +{ + "name": "Liquid DnB Roller", + "icon": "๐Ÿ’ง", + "shapeType": "blob", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.5, + "pulseDecay": 0.8, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#00d4ff", + "showProgressRing": true, + "progressRingColor": "#00ffaa", + "progressRingWidth": 5, + "rotationSpeed": 1.6, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 100, + "spectrumMaxHeight": 130, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.25, + "freqFocus": "bass_heavy", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "mids", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 174, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "bubbles", + "particleCount": 90, + "particleSpeed": 1.1, + "particleWarp": 2.2, + "particleAudioReactivity": 1.7, + "enableGrid": false, + "colorGrid": "#00d4ff", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": false, + "camShakeIntensity": 0.25, + "enableGlitch": false, + "rgbSplitIntensity": 0.15, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.82, + "afterglowMode": "cyan_neon", + "colorMode": "gradient_3", + "colorGrad1": "#00d4ff", + "colorGrad2": "#00ffaa", + "colorGrad3": "#0055ff", + "colorParticle": "#88ffff", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.8, + "glowBlur": 24, + "laserCore": false, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#00d4ff", + "timecodeColor": "#00ffaa" +} diff --git a/public/presets/lofi_nostalgia.json b/public/presets/lofi_nostalgia.json new file mode 100644 index 0000000..7bc0e01 --- /dev/null +++ b/public/presets/lofi_nostalgia.json @@ -0,0 +1,82 @@ +{ + "name": "Lofi Nostalgia", + "icon": "๐Ÿฑ", + "shapeType": "cat", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.35, + "pulseDecay": 0.85, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#eedd82", + "showProgressRing": true, + "progressRingColor": "#88cc88", + "progressRingWidth": 4, + "rotationSpeed": 0.8, + "beatSpinImpulse": false, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 80, + "spectrumMaxHeight": 115, + "barWidth": 4, + "barSpacing": 12, + "barCornerRadius": 3, + "freqSensitivity": 1.15, + "freqFocus": "balanced", + "mirrorSpectrum": true, + "stereoSplit": false, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "mids", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 80, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "bubbles", + "particleCount": 60, + "particleSpeed": 0.7, + "particleWarp": 1.4, + "particleAudioReactivity": 1.0, + "enableGrid": false, + "colorGrid": "#eedd82", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": false, + "camShakeIntensity": 0.2, + "enableGlitch": false, + "rgbSplitIntensity": 0.1, + "beatFlash": false, + "enableBassZoom": false, + "enableVhs": true, + "vhsScanlineIntensity": 0.18, + "vhsNoiseIntensity": 0.12, + "vhsCrtCurvature": false, + "enableAfterglow": false, + "afterglowDecay": 0.8, + "afterglowMode": "amber_decay", + "colorMode": "gradient_3", + "colorGrad1": "#88cc88", + "colorGrad2": "#eedd82", + "colorGrad3": "#ddaa77", + "colorParticle": "#ffeedd", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.6, + "glowBlur": 20, + "laserCore": false, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 36, + "artistFontSize": 20, + "textPulseWithBeat": true, + "textGlow": false, + "titleColor": "#ffffff", + "artistColor": "#eedd82", + "timecodeColor": "#88cc88" +} diff --git a/public/presets/metal_hellfire.json b/public/presets/metal_hellfire.json new file mode 100644 index 0000000..96cdd2a --- /dev/null +++ b/public/presets/metal_hellfire.json @@ -0,0 +1,82 @@ +{ + "name": "Metal Hellfire", + "icon": "๐Ÿ”ฅ", + "shapeType": "flame", + "showCover": true, + "coverShape": "circle", + "circleRadius": 150, + "pulseIntensity": 0.6, + "pulseDecay": 0.76, + "showBorder": true, + "borderWidth": 5, + "borderColor": "#ff3300", + "showProgressRing": true, + "progressRingColor": "#ffd700", + "progressRingWidth": 5, + "rotationSpeed": 1.5, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 110, + "spectrumMaxHeight": 145, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.35, + "freqFocus": "bass_heavy", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 140, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "embers", + "particleCount": 120, + "particleSpeed": 1.4, + "particleWarp": 2.8, + "particleAudioReactivity": 2.2, + "enableGrid": false, + "colorGrid": "#ff3300", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": true, + "camShakeIntensity": 0.45, + "enableGlitch": true, + "rgbSplitIntensity": 0.25, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.78, + "afterglowMode": "amber_decay", + "colorMode": "gradient_3", + "colorGrad1": "#ff1100", + "colorGrad2": "#ff6600", + "colorGrad3": "#ffd700", + "colorParticle": "#ffcc44", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.9, + "glowBlur": 26, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ff6600", + "timecodeColor": "#ffd700" +} diff --git a/public/presets/phonk_drifter.json b/public/presets/phonk_drifter.json new file mode 100644 index 0000000..2b27fed --- /dev/null +++ b/public/presets/phonk_drifter.json @@ -0,0 +1,82 @@ +{ + "name": "Phonk Drifter", + "icon": "๐Ÿ’€", + "shapeType": "skull", + "showCover": true, + "coverShape": "circle", + "circleRadius": 150, + "pulseIntensity": 0.65, + "pulseDecay": 0.75, + "showBorder": true, + "borderWidth": 5, + "borderColor": "#ff0055", + "showProgressRing": true, + "progressRingColor": "#ffffff", + "progressRingWidth": 5, + "rotationSpeed": 1.0, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 110, + "spectrumMaxHeight": 140, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.35, + "freqFocus": "bass_heavy", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 150, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "sparks", + "particleCount": 130, + "particleSpeed": 1.6, + "particleWarp": 3.0, + "particleAudioReactivity": 2.4, + "enableGrid": true, + "colorGrid": "#ff0055", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": true, + "camShakeIntensity": 0.45, + "enableGlitch": true, + "rgbSplitIntensity": 0.3, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": true, + "vhsScanlineIntensity": 0.25, + "vhsNoiseIntensity": 0.15, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.8, + "afterglowMode": "magenta_burn", + "colorMode": "gradient_3", + "colorGrad1": "#ff0055", + "colorGrad2": "#990033", + "colorGrad3": "#ffffff", + "colorParticle": "#ff0055", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.9, + "glowBlur": 26, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ff0055", + "timecodeColor": "#ffffff" +} diff --git a/public/presets/reggae_dub_session.json b/public/presets/reggae_dub_session.json new file mode 100644 index 0000000..0a2f7d9 --- /dev/null +++ b/public/presets/reggae_dub_session.json @@ -0,0 +1,82 @@ +{ + "name": "Reggae Dub Session", + "icon": "๐ŸŒฟ", + "shapeType": "leaf", + "showCover": true, + "coverShape": "circle", + "circleRadius": 150, + "pulseIntensity": 0.45, + "pulseDecay": 0.82, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#009933", + "showProgressRing": true, + "progressRingColor": "#ffcc00", + "progressRingWidth": 5, + "rotationSpeed": 1.2, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 96, + "spectrumMaxHeight": 130, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.25, + "freqFocus": "bass_heavy", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "mids", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 75, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "bubbles", + "particleCount": 80, + "particleSpeed": 0.9, + "particleWarp": 1.8, + "particleAudioReactivity": 1.6, + "enableGrid": false, + "colorGrid": "#009933", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": false, + "camShakeIntensity": 0.25, + "enableGlitch": false, + "rgbSplitIntensity": 0.15, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": false, + "afterglowDecay": 0.8, + "afterglowMode": "amber_decay", + "colorMode": "gradient_3", + "colorGrad1": "#009933", + "colorGrad2": "#ffcc00", + "colorGrad3": "#cc0000", + "colorParticle": "#ffea88", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.75, + "glowBlur": 22, + "laserCore": false, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ffcc00", + "timecodeColor": "#00ff88" +} diff --git a/public/presets/rock_arena.json b/public/presets/rock_arena.json new file mode 100644 index 0000000..f59a9c1 --- /dev/null +++ b/public/presets/rock_arena.json @@ -0,0 +1,82 @@ +{ + "name": "Rock Arena", + "icon": "๐ŸŽธ", + "shapeType": "pick", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.55, + "pulseDecay": 0.78, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#ff2200", + "showProgressRing": true, + "progressRingColor": "#ff7700", + "progressRingWidth": 5, + "rotationSpeed": 1.4, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 100, + "spectrumMaxHeight": 135, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.3, + "freqFocus": "bass_heavy", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 132, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "sparks", + "particleCount": 110, + "particleSpeed": 1.3, + "particleWarp": 2.6, + "particleAudioReactivity": 2.0, + "enableGrid": false, + "colorGrid": "#ff2200", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": true, + "camShakeIntensity": 0.4, + "enableGlitch": false, + "rgbSplitIntensity": 0.2, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.8, + "afterglowMode": "amber_decay", + "colorMode": "gradient_3", + "colorGrad1": "#ff2200", + "colorGrad2": "#ff7700", + "colorGrad3": "#ffffff", + "colorParticle": "#ffaa44", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.85, + "glowBlur": 24, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ff7700", + "timecodeColor": "#ff2200" +} diff --git a/public/presets/space_invader_arcade.json b/public/presets/space_invader_arcade.json new file mode 100644 index 0000000..3d9185b --- /dev/null +++ b/public/presets/space_invader_arcade.json @@ -0,0 +1,82 @@ +{ + "name": "Space Invader Arcade", + "icon": "๐Ÿ‘พ", + "shapeType": "invader", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.5, + "pulseDecay": 0.78, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#00ff66", + "showProgressRing": true, + "progressRingColor": "#00ddff", + "progressRingWidth": 5, + "rotationSpeed": 1.2, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 96, + "spectrumMaxHeight": 135, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 0, + "freqSensitivity": 1.3, + "freqFocus": "balanced", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 130, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "digital_rain", + "particleCount": 100, + "particleSpeed": 1.1, + "particleWarp": 2.2, + "particleAudioReactivity": 1.8, + "enableGrid": true, + "colorGrid": "#00ff66", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": true, + "camShakeIntensity": 0.35, + "enableGlitch": true, + "rgbSplitIntensity": 0.25, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": true, + "vhsScanlineIntensity": 0.25, + "vhsNoiseIntensity": 0.12, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.8, + "afterglowMode": "green_phosphor", + "colorMode": "gradient_3", + "colorGrad1": "#00ff66", + "colorGrad2": "#00ddff", + "colorGrad3": "#008844", + "colorParticle": "#00ff66", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.85, + "glowBlur": 24, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#00ff66", + "timecodeColor": "#00ddff" +} diff --git a/public/presets/studio_mastering_suite.json b/public/presets/studio_mastering_suite.json new file mode 100644 index 0000000..c19dbb9 --- /dev/null +++ b/public/presets/studio_mastering_suite.json @@ -0,0 +1,82 @@ +{ + "name": "Studio Mastering Suite", + "icon": "๐ŸŽ›๏ธ", + "shapeType": "vumeter", + "showCover": false, + "coverShape": "circle", + "circleRadius": 150, + "pulseIntensity": 0.4, + "pulseDecay": 0.8, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#ffcc00", + "showProgressRing": true, + "progressRingColor": "#ff4400", + "progressRingWidth": 5, + "rotationSpeed": 0, + "beatSpinImpulse": false, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 96, + "spectrumMaxHeight": 120, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.2, + "freqFocus": "balanced", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 120, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "dust", + "particleCount": 60, + "particleSpeed": 0.8, + "particleWarp": 1.5, + "particleAudioReactivity": 1.2, + "enableGrid": false, + "colorGrid": "#ffcc00", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": false, + "camShakeIntensity": 0.2, + "enableGlitch": false, + "rgbSplitIntensity": 0.1, + "beatFlash": false, + "enableBassZoom": false, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": false, + "afterglowDecay": 0.8, + "afterglowMode": "amber_decay", + "colorMode": "gradient_3", + "colorGrad1": "#ffcc00", + "colorGrad2": "#ff4400", + "colorGrad3": "#222630", + "colorParticle": "#ffeeaa", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.75, + "glowBlur": 22, + "laserCore": false, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ffcc00", + "timecodeColor": "#ff4400" +} diff --git a/public/presets/synthwave_outrun.json b/public/presets/synthwave_outrun.json new file mode 100644 index 0000000..3d94284 --- /dev/null +++ b/public/presets/synthwave_outrun.json @@ -0,0 +1,82 @@ +{ + "name": "Synthwave Outrun", + "icon": "๐Ÿช", + "shapeType": "saturn", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.5, + "pulseDecay": 0.8, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#ff007f", + "showProgressRing": true, + "progressRingColor": "#00f0ff", + "progressRingWidth": 5, + "rotationSpeed": 1.4, + "beatSpinImpulse": true, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 100, + "spectrumMaxHeight": 135, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.3, + "freqFocus": "bass_heavy", + "mirrorSpectrum": true, + "stereoSplit": true, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "treble", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 120, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "starfield", + "particleCount": 110, + "particleSpeed": 1.2, + "particleWarp": 2.6, + "particleAudioReactivity": 1.7, + "enableGrid": true, + "colorGrid": "#ff007f", + "gridPerspective": 0.65, + "gridAudioReactive": 0.6, + "enableShake": true, + "camShakeIntensity": 0.35, + "enableGlitch": false, + "rgbSplitIntensity": 0.2, + "beatFlash": false, + "enableBassZoom": true, + "enableVhs": true, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.82, + "afterglowMode": "magenta_burn", + "colorMode": "gradient_3", + "colorGrad1": "#ff007f", + "colorGrad2": "#00f0ff", + "colorGrad3": "#ffe600", + "colorParticle": "#00f0ff", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.85, + "glowBlur": 24, + "laserCore": true, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#00f0ff", + "timecodeColor": "#ffe600" +} diff --git a/public/presets/zen_lotus.json b/public/presets/zen_lotus.json new file mode 100644 index 0000000..03100cc --- /dev/null +++ b/public/presets/zen_lotus.json @@ -0,0 +1,82 @@ +{ + "name": "Zen Lotus", + "icon": "๐ŸŒธ", + "shapeType": "flower", + "showCover": true, + "coverShape": "circle", + "circleRadius": 145, + "pulseIntensity": 0.38, + "pulseDecay": 0.84, + "showBorder": true, + "borderWidth": 4, + "borderColor": "#ff77aa", + "showProgressRing": true, + "progressRingColor": "#ffaacc", + "progressRingWidth": 4, + "rotationSpeed": 0.9, + "beatSpinImpulse": false, + "showSpectrum": true, + "spectrumMode": "radial_bars", + "linearAlignment": "center_mirrored", + "barCount": 96, + "spectrumMaxHeight": 120, + "barWidth": 4, + "barSpacing": 10, + "barCornerRadius": 2, + "freqSensitivity": 1.2, + "freqFocus": "balanced", + "mirrorSpectrum": true, + "stereoSplit": false, + "stereoMode": "split_hemisphere", + "routePulse": "sub_bass", + "routeParticles": "mids", + "routeShake": "sub_bass", + "bpmSync": false, + "bpmValue": 90, + "bpmSyncRotation": false, + "bpmSyncGrid": false, + "enableParticles": true, + "particleType": "embers", + "particleCount": 70, + "particleSpeed": 0.8, + "particleWarp": 1.5, + "particleAudioReactivity": 1.1, + "enableGrid": false, + "colorGrid": "#ff77aa", + "gridPerspective": 0.65, + "gridAudioReactive": 0.5, + "enableShake": false, + "camShakeIntensity": 0.2, + "enableGlitch": false, + "rgbSplitIntensity": 0.1, + "beatFlash": false, + "enableBassZoom": false, + "enableVhs": false, + "vhsScanlineIntensity": 0.2, + "vhsNoiseIntensity": 0.1, + "vhsCrtCurvature": false, + "enableAfterglow": true, + "afterglowDecay": 0.82, + "afterglowMode": "magenta_burn", + "colorMode": "gradient_3", + "colorGrad1": "#ff77aa", + "colorGrad2": "#ffaacc", + "colorGrad3": "#ffffff", + "colorParticle": "#ffddee", + "gradientStyle": "angular", + "enableGlow": true, + "glowIntensity": 0.75, + "glowBlur": 22, + "laserCore": false, + "backgroundMode": "transparent", + "showTextOverlay": true, + "fontFamily": "'Outfit', sans-serif", + "textPosition": "below_circle", + "titleFontSize": 38, + "artistFontSize": 22, + "textPulseWithBeat": true, + "textGlow": true, + "titleColor": "#ffffff", + "artistColor": "#ff77aa", + "timecodeColor": "#ffaacc" +}