1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-02 03:25:53 +01:00

Testing anti-flicker weighting

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
This commit is contained in:
Mark Tolmacs 2024-07-05 21:42:02 +02:00
parent ca5c776880
commit 3ce7b5d131
No known key found for this signature in database

@ -420,7 +420,7 @@ const astar = (
const gScore =
current.g +
m_dist(neighbor.pos, current.pos) +
(directionChange ? Math.pow(bendMultiplier, 2) : 0);
(directionChange ? Math.pow(bendMultiplier, 3) : 0);
const beenVisited = neighbor.visited;