From 3a3140f3e907273a17da08374f05c867796648d2 Mon Sep 17 00:00:00 2001 From: yhattav Date: Fri, 22 Nov 2024 10:09:19 +0100 Subject: [PATCH] change default settings --- src/constants/physics.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/constants/physics.ts b/src/constants/physics.ts index 4983746..01a0f1d 100644 --- a/src/constants/physics.ts +++ b/src/constants/physics.ts @@ -18,11 +18,11 @@ interface BooleanSettingMetadata { type SettingMetadata = SliderSettingMetadata | BooleanSettingMetadata; export const PHYSICS_CONFIG = { - NEW_PARTICLE_MASS: 0.1, + NEW_PARTICLE_MASS: 0.01, NEW_PARTICLE_ELASTICITY: 0.8, - FRICTION: 0.001, + FRICTION: 0.999, DELTA_TIME: 1 / 60, - POINTER_MASS: 100000, + POINTER_MASS: 250000, SHOW_VELOCITY_ARROWS: true, SHOW_FORCE_ARROWS: true, CONSTANT_FORCE_X: 0, @@ -65,7 +65,7 @@ export const SETTINGS_METADATA: Record< POINTER_MASS: { type: "slider", isDev: false, - min: 10000, + min: 0, max: 1000000, step: 10000, },