From dc70d2e10d148032b7b68b356426a224e852b92e Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Wed, 12 Jul 2023 11:18:22 -0600 Subject: [PATCH] Adding paper.js dependency. Handling quadratic/cubic intersection with bezier clipping, see const a = new kite.Quadratic( dot.v2( 16.704545454545453, -21 ), dot.v2( 17.644176136363637, -21 ), dot.v2( 18.449573863636363, -20.627130681818183 ) ); const b = new kite.Quadratic( dot.v2( 16.704545454545453, -21 ), dot.v2( 18.47940340909091, -21 ), dot.v2( 19.739701704545453, -19.739701704545453 ) ); kite.BoundsIntersection.getIntersectionRanges( a, b ); --- area-model-multiplication_en.html | 1 + 1 file changed, 1 insertion(+) diff --git a/area-model-multiplication_en.html b/area-model-multiplication_en.html index 7505597..ae16c31 100644 --- a/area-model-multiplication_en.html +++ b/area-model-multiplication_en.html @@ -109,6 +109,7 @@ '../sherpa/lib/himalaya-1.1.0.js', '../sherpa/lib/linebreak-1.1.0.js', '../sherpa/lib/flatqueue-1.2.1.js', + '../sherpa/lib/paper-js-0.12.17.js', '../sherpa/lib/he-1.1.1.js', '../assert/js/assert.js', '../query-string-machine/js/QueryStringMachine.js',