* Close paths with pen tool
* Issue Z command always at end of path
* Small code review style changes
* Extending paths
* Fix mirror on extend path
* Code review tweaks
Co-authored-by: Keavon Chambers <keavon@keavon.com>
* Refactor bezier lib file into a separate folder
* Add better implementation comments
* Update import of Subpath from bezier-rs
* Add comment to describe compare.rs
* Remove printlns and adjust spacing
* Initial tests
* Write unit tests for Bezier
Co-authored-by: Thomas Cheng <Androxium@users.noreply.github.com>
Co-authored-by: Rob Nadal <RobNadal@users.noreply.github.com>
Co-authored-by: Linda Zheng <linda-zheng@users.noreply.github.com>
Co-authored-by: Jackie Chen <jackiechen73@users.noreply.github.com>
* Write final tests and add PartialEq and Debug traits to Bezier
* Minor changes
* Identify missing tests and rename tests
* Add tests for rotate and translate
* Add tests for bounding box and inflection
* de casteljau point test
* curvature tests
* Add more sections to the rotate and translation tests
Co-authored-by: Thomas Cheng <Androxium@users.noreply.github.com>
Co-authored-by: Rob Nadal <RobNadal@users.noreply.github.com>
Co-authored-by: Linda Zheng <linda-zheng@users.noreply.github.com>
Co-authored-by: Jackie Chen <jackiechen73@users.noreply.github.com>
Co-authored-by: Jackie Chen <jackie.chen73@gmail.com>
Co-authored-by: Keavon Chambers <keavon@keavon.com>
* 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>
* IPP for Mac, flawed initial experiments
* Cleanup and progress, but not compiling yet
* Fix error and rename nonmac -> standard
* Extentd ipp macros to accomodate mac input
* Add Mac versions of shortcuts; refactor and document the input mapper macros
* Change frontend styling for user input labels in floating menus
* Additional macro documentation
* A little more documentation
* Improve entry macro syntax
* Move input mapper macros to a separate file
* Adapt the keyboard shortcuts to the user's OS
* Display keyboard shortcuts in the menu bar based on OS
* Change Input Mapper macro syntax from {} to ()
* Fix esc key bug in Vue
* Tweaks
* Interim solution for Mac-specific hints
* Feed tooltip input hotkeys from their actions
* Fix hotkeys for tools because of missing actions
* Make Vue respect Ctrl/Cmd differences per platform
* Remove commented lines
* Code review pass by me
* Code review suggestions with TrueDoctor
* Turn FutureKeyMapping struct into ActionKeys enum which is a bit cleaner
* Add serde derive attributes for message discriminants
* Re-add serde deserialize
* Fix not mutating ActionKeys conversion; remove custom serializer
* Add serde to dev dependencies
Co-authored-by: Dennis <dennis@kobert.dev>