From c683fa699b838d8c2e8e07c7b7d5dacd3fe093e3 Mon Sep 17 00:00:00 2001 From: Pomax Date: Sun, 27 Feb 2022 12:07:10 -0800 Subject: [PATCH] Update refine-binary.js --- docs/chapters/projections/refine-binary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chapters/projections/refine-binary.js b/docs/chapters/projections/refine-binary.js index 2d7d58d0..a628c5a4 100644 --- a/docs/chapters/projections/refine-binary.js +++ b/docs/chapters/projections/refine-binary.js @@ -19,7 +19,7 @@ function refineBinary(curve, x, y, LUT, i, targetDistance=0, epsilon=1) { t1 = LUT[i1].t, t2 = LUT[i2].t, lut = [], - step = (t2 - t1) / 5; + step = (t2 - t1) / 4; if (step < 0.001) break;