Decreased spring length and disabled node overlap avoidance.

This commit is contained in:
Benjamin Arntzen (aider)
2024-06-27 10:22:51 +01:00
parent 4034d7bb18
commit 357ef5228a
+2 -2
View File
@@ -177,9 +177,9 @@ const options = {
gravitationalConstant: -50,
centralGravity: 0.01,
springConstant: 0.08,
springLength: 140, // Increased from 100 to 140
springLength: 100,
damping: 0.4,
avoidOverlap: 0.1 // Changed from 0 to 0.1
avoidOverlap: 0
},
stabilization: {
enabled: true,