* added arcs impl
Co-authored-by: Hannah Li <hannahli2010@gmail.com>
Co-authored-by: Rob Nadal <RobNadal@users.noreply.github.com>
* fixed arc drawing, todo - fix linear check
Co-authored-by: Hannah Li <hannahli2010@gmail.com>
* fixed linear bug + added comments and tests
Co-authored-by: Hannah Li <hannahli2010@gmail.com>
* added max iteration guard + made params optional + added impl todo
* Add functionality to get arcs between extrema
* Add ArcsOptions to manage optional parameters of the arcs function
* added slider to toggle between arcs impl
Co-authored-by: Rob Nadal <RobNadal@users.noreply.github.com>
* Remove unused types
* address some comments
* added rustdoc for CircularArc struct
* Extract duplicate code into helper, remove loop labels, use window function
* Make JsValue handling consistent in WasmBezier and add comments for the underlying type
* Add enum for MaximizeArcs Auto/On/Off functionality
* Change Auto to Automatic
* fix errors from resolving merge conflict
* fixed error from resolving merge conflicts
* fixed formatting
* address comments
* Small fix
* Add some missing comments
* address comments
* rename variable
* Use unit to show maximize_arcs values
* Change i32 to usize and other minor adjustments
* Change computation for middle t values
* Remove tsconfig
* Fix more usize number handling
Co-authored-by: Hannah Li <hannahli2010@gmail.com>
Co-authored-by: Rob Nadal <RobNadal@users.noreply.github.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
* Added Subpath constructor, iterator and length
* Asserted that subpaths of len < 2 cannot be closed. Added len() and comments
* Added subpath to_svg(), made structs public, made quadratic use either in_handle or out_handle
* add bezier handles
* Added basic interactivity and index traits
* Added SubPath interactivity
* Added svg styling
* Broke subpath impl across multiple files. More sylistic changes per review
* Fixed format error
* Added closed subpath to documentation page
* Modified subpath to_svg to use functional style
* Stylistic changes per review
* Fixed build errors
* More sylistic changes per review
* Moved svg commands to constants
* Moved formatting for svg arguments to ToSVGOptions
* Renamed files in git
* Even more stylistic changes per review