From 0fff278fdb6e01c572c9d458ce53625356ed0a2c Mon Sep 17 00:00:00 2001 From: nek0 Date: Sun, 24 Jun 2018 00:51:21 +0200 Subject: [PATCH] higher mass --- src/MindMap.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MindMap.hs b/src/MindMap.hs index 64b42ba..cfca4f3 100644 --- a/src/MindMap.hs +++ b/src/MindMap.hs @@ -72,7 +72,7 @@ springField inGraph = (normv (mmPos node - mmPos a)) | otherwise = -- acc - V2 0 0 - acc - fmap (* (1 / ((distance (mmPos node) (mmPos a)) ^ 2))) + acc - fmap (* (1000 / ((distance (mmPos node) (mmPos a)) ^ 2))) (normv (mmPos a - mmPos node)) -- acc - fmap (* (springKonst * (len (mmPos a - mmPos node)))) -- (signorm (mmPos a - mmPos node))