Implement function that projects to a Bezier curve (#688)

* UI section for the projection function

* added bezier project impl

* Fix project function and add test for it

* Search method

* Re-use comptued distances

* Update comments

* rebase project changes

* clean up tests and library code

* use built-in functions and destructure syntax

* Remove redundant project implementation

* Fix typo, add lut size as parameter and add constant

* address comments

Co-authored-by: Thomas Cheng <contact.chengthomas@gmail.com>
This commit is contained in:
Hannah Li
2022-07-01 18:22:17 -04:00
committed by Keavon Chambers
co-authored by Thomas Cheng
parent 0036d12b99
commit 3ab47418d2
7 changed files with 128 additions and 10 deletions
@@ -46,7 +46,7 @@ export default defineComponent({
options: {
deep: true,
handler() {
this.bezierDrawing.updateBezier(this.options);
this.bezierDrawing.updateBezier(undefined, this.options);
},
},
},