This SVG Path Editor allows users to draw lines and Bézier curves on an SVG canvas. The editor uses the following libraries:
Snap.svg: A JavaScript library for working with SVG graphics.
Simplify.js: A library for simplifying paths by reducing the number of points.
Feather Icons: A collection of icons used in the toolbar.
Bézier Curves
The application provides the functionality to draw cubic and quadratic Bézier curves. The paths are simplified using a distance heuristic to decide whether to use quadratic or cubic curves based on the drawn points.