You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
1
# One True Path
2
2
3
-
A general-purpose library for working with paths.
3
+
A general-purpose library for working with curves and paths.
4
4
5
-
The primary aim at the moment is SVG paths, but the types and functions in this package can also be
5
+
The primary aim is SVG paths, but the types and functions in this package can also be
6
6
used for animations or other graphics backends (webgl, canvas).
7
7
8
+
Additionally, this package is meant to serve as an interchange format between packages.
9
+
8
10
## Core Concepts
9
11
10
12
***Path:** A list of subpaths
@@ -105,8 +107,7 @@ Path.parse pathAsString
105
107
106
108
The `Segment` module breaks down a line into four basic segment types, and exposes some mathematical functions (and the constructors, if you want to define your own fancy stuff).
107
109
108
-
The `LowLevel` module has that name for a reason. Unless you are making your own primitives, there is probably a better way.
109
-
If there isn't but you think there should be, please open an issue.
110
+
The `LowLevel.Command` module contains individual instructions. These should only be used for building other primitives! Making and combining curves should happen on the SubPath level.
0 commit comments