Skip to content

Commit

Permalink
Adjust initial settings (#83)
Browse files Browse the repository at this point in the history
* adjust initial settings for particle mass and vision

* adjust blur
  • Loading branch information
yhattav authored Jan 14, 2025
1 parent ff6ad71 commit 83b3b8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/constants/physics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export interface PhysicsSettings {
}

export const DEFAULT_PHYSICS_CONFIG: PhysicsSettings = {
NEW_PARTICLE_MASS: 0.3,
NEW_PARTICLE_MASS: 0.02,
NEW_PARTICLE_ELASTICITY: 0.8,
FRICTION: 1,
DELTA_TIME: 1 / 60,
Expand All @@ -89,7 +89,7 @@ export const DEFAULT_PHYSICS_CONFIG: PhysicsSettings = {
PARTICLE_TRAIL_LENGTH: 30,
SHOW_GRAVITY_VISION: true,
GRAVITY_GRID_DENSITY: 20,
SHOW_D3_GRAVITY_VISION: false,
SHOW_D3_GRAVITY_VISION: true,
GRAVITY_VISION_OPACITY: 0.7,
GRAVITY_VISION_STROKE_OPACITY: 0.5,
GRAVITY_VISION_STROKE_WIDTH: 0.5,
Expand All @@ -103,7 +103,7 @@ export const DEFAULT_PHYSICS_CONFIG: PhysicsSettings = {
GRAVITY_VISION_STRENGTH: 400,
GRAVITY_VISION_FALLOFF: 100,
GRAVITY_VISION_MASS_THRESHOLD: 0.05,
GRAVITY_VISION_BLUR: 10,
GRAVITY_VISION_BLUR: 0,
MASTER_VOLUME: 0.8,
AMBIENT_VOLUME: 0.6,
PARTICLE_VOLUME: 0.3,
Expand Down

0 comments on commit 83b3b8b

Please sign in to comment.