Skip to content

Commit

Permalink
tweaked some calues
Browse files Browse the repository at this point in the history
  • Loading branch information
pouyamer committed Mar 1, 2024
1 parent 331ef86 commit c9c7bf9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions src/Config/boundsConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
8 changes: 4 additions & 4 deletions src/Config/colorValueConfig.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const colorValueConfig: ColorValueConfigType = {
updateMode: "updatingHslColor",
startingMehtod: {
h: "min",
s: "min",
h: "random",
s: "max",
l: "random",
a: "max"
},
Expand Down Expand Up @@ -41,8 +41,8 @@ const colorValueConfig: ColorValueConfigType = {
max: 100
},
l: {
min: 40,
max: 100
min: 50,
max: 75
},
a: {
min: 1,
Expand Down
16 changes: 8 additions & 8 deletions src/Config/movementConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ const config: IConfig = {
wind: windConfig,

fireflies: {
count: 5000,
count: 3000,

size: {
min: 5,
max: 30
max: 40
},

movement: movementConfig,
Expand Down

0 comments on commit c9c7bf9

Please sign in to comment.