Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in README #21

Merged
merged 1 commit into from
Jul 14, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ The options object is optional, as are each of its properties.
| `streamline` | number | .5 | How much to streamline the stroke. |
| `simulatePressure` | boolean | true | Whether to simulate pressure based on velocity. |
| `easing` | function | t => t | An easing function to apply to each point's pressure. |
| `start` | function | t => t | Tapering options for the start of the line. |
| `start` | { } | | Tapering options for the start of the line. |
| `end` | { } | | Tapering options for the end of the line. |
| `last` | boolean | true | Whether the stroke is complete. |

Expand All @@ -74,7 +74,7 @@ The `start` and `end` options accept an object:
| Property | Type | Default | Description |
| -------- | -------- | ------- | ------------------------------------------- |
| `taper` | boolean | 0 | The distance to taper. |
| `easing` | function | t => | An easing function for the tapering effect. |
| `easing` | function | t => t | An easing function for the tapering effect. |

When `taper` is zero for either start or end, the library will add a rounded cap at that end of the line.

Expand Down