Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…into main
  • Loading branch information
steveruizok committed Oct 5, 2021
2 parents 36d89cc + 3c8205a commit 97bd850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ yarn add perfect-freehand

This package exports a function named `getStroke` that will generate the points for a polygon based on an array of points.

![Screenshot](assets/process.gif "A GIF showing a stroke's input points, outline points, and a curved path connecting these points")
![Screenshot](assets/process.gif 'A GIF showing a stroke with input points, outline points, and a curved path connecting these points')

To do this work, `getStroke` first creates a set of spline points (red) based on the input points (grey) and then creates outline points (blue). You can render the result any way you like, using whichever technology you prefer.

Expand Down

1 comment on commit 97bd850

@vercel
Copy link

@vercel vercel bot commented on 97bd850 Oct 5, 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.