Skip to content

Commit

Permalink
Merge pull request #21 from calebeby/patch-1
Browse files Browse the repository at this point in the history
Fix typos in README
  • Loading branch information
steveruizok authored Jul 14, 2021
2 parents bb149cd + 715bbd4 commit ae101b9
Showing 1 changed file with 2 additions and 2 deletions.
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

1 comment on commit ae101b9

@vercel
Copy link

@vercel vercel bot commented on ae101b9 Jul 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.