From 52e2a47bc9d02ee8d881f2ee660157f5a2b30561 Mon Sep 17 00:00:00 2001 From: Johnny322 Date: Tue, 10 Feb 2026 17:03:33 +0100 Subject: [PATCH] Test logarithmic --- src/App.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.vue b/src/App.vue index a21c86b..436e451 100644 --- a/src/App.vue +++ b/src/App.vue @@ -457,8 +457,8 @@ export default { let bandSum = 0 for (let j = start; j < end; j += 1) bandSum += freq[j] const avg = bandSum / Math.max(1, end - start) / 255 - const amplified = Math.min(1, avg * 1.2) - const shaped = 1 - Math.pow(1 - amplified, 2.5) + const amplified = Math.min(1, avg * 1.25) + const shaped = Math.log1p(amplified * 9) / Math.log(10) this.tentacleLevels[i] = this.tentacleLevels[i] * 0.6 + shaped * 0.4 }