diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-08-08 23:48:37 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-08-08 23:48:37 +0200 |
commit | 5b750a8bc321a40f26ce18c8d3d8fb8f4106359a (patch) | |
tree | d2a16e52246db1a127afd84028214a7d5ed07045 /components/config.ts | |
parent | c745d07018a46b1a20b9f571d999ecf7a092c2e1 (diff) |
feat: much smoother local mode
Diffstat (limited to 'components/config.ts')
-rw-r--r-- | components/config.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/components/config.ts b/components/config.ts index 2636b73..b48cbe4 100644 --- a/components/config.ts +++ b/components/config.ts @@ -20,15 +20,16 @@ export const initialPhysics = { collision: true, collisionStrength: 20, centering: true, - centeringStrength: 0.05, + centeringStrength: 0.2, linkStrength: 0.3, linkIts: 1, - alphaDecay: 0.1, + alphaDecay: 0.05, alphaTarget: 0, alphaMin: 0, velocityDecay: 0.25, gravity: 0.3, gravityOn: true, + gravityLocal: false, } export const initialFilter = { @@ -117,6 +118,7 @@ export const initialMouse = { highlight: 'hover', local: 'click', follow: 'double', + context: 'right', } export const colorList = [ |