From c9c7bf9f0161aedd78116dc43065d0669d4d7be8 Mon Sep 17 00:00:00 2001 From: Pouya Moazzezi Date: Fri, 1 Mar 2024 23:41:19 +0330 Subject: [PATCH] tweaked some calues --- src/Config/boundsConfig.ts | 8 ++++---- src/Config/colorValueConfig.ts | 8 ++++---- src/Config/movementConfig.ts | 16 ++++++++-------- src/config.ts | 4 ++-- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/Config/boundsConfig.ts b/src/Config/boundsConfig.ts index 0018f81..eb645bd 100644 --- a/src/Config/boundsConfig.ts +++ b/src/Config/boundsConfig.ts @@ -12,10 +12,10 @@ const boundsConfig: BoundsConfigType = { left: 0.8 }, hueIncreaseAmountAfterImpact: { - left: 10, - right: 10, - top: 10, - bottom: 10 + left: 0, + right: 0, + top: 0, + bottom: 0 }, sizeMultiplierAfterImpact: { top: 1, diff --git a/src/Config/colorValueConfig.ts b/src/Config/colorValueConfig.ts index f9d258a..468eef1 100644 --- a/src/Config/colorValueConfig.ts +++ b/src/Config/colorValueConfig.ts @@ -1,8 +1,8 @@ const colorValueConfig: ColorValueConfigType = { updateMode: "updatingHslColor", startingMehtod: { - h: "min", - s: "min", + h: "random", + s: "max", l: "random", a: "max" }, @@ -41,8 +41,8 @@ const colorValueConfig: ColorValueConfigType = { max: 100 }, l: { - min: 40, - max: 100 + min: 50, + max: 75 }, a: { min: 1, diff --git a/src/Config/movementConfig.ts b/src/Config/movementConfig.ts index ff02b2d..ff9cf30 100644 --- a/src/Config/movementConfig.ts +++ b/src/Config/movementConfig.ts @@ -9,21 +9,21 @@ const movementConfig: MovementConfigType = { }, accelerationX: { - min: -0.05, - max: 0.05 + min: -0.02, + max: 0.02 }, accelerationY: { - min: -0.05, - max: 0.05 + min: -0.02, + max: 0.02 }, accelerateInCurrentMovingDirection: false, jitterCoefficientX: { - min: 0, - max: 0 + min: -2, + max: 2 }, jitterCoefficientY: { - min: 0, - max: 0 + min: -2, + max: 2 } } diff --git a/src/config.ts b/src/config.ts index e1b4c88..d5c07f1 100644 --- a/src/config.ts +++ b/src/config.ts @@ -11,11 +11,11 @@ const config: IConfig = { wind: windConfig, fireflies: { - count: 5000, + count: 3000, size: { min: 5, - max: 30 + max: 40 }, movement: movementConfig,