From 67aef402e3cd2e615c60d5e170a06bc5fdd40039 Mon Sep 17 00:00:00 2001 From: Pyro Nicampt <81565698+PyroNicampt@users.noreply.github.com> Date: Mon, 23 Dec 2024 03:56:16 -0600 Subject: [PATCH] Change curvature calc from max to average --- js/bezierlib.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/bezierlib.js b/js/bezierlib.js index aa8618e..aa6f0a3 100644 --- a/js/bezierlib.js +++ b/js/bezierlib.js @@ -62,11 +62,11 @@ export function estimateCurvature(p1, h1, h2, p2, iterationCount = 50){ for(let i=0; i