steveruizok / perfect-freehand

Draw perfect pressure-sensitive freehand lines.
https://perfectfreehand.com
MIT License
4.48k stars 156 forks source link

Add taper: true #47

Closed steveruizok closed 2 years ago

steveruizok commented 2 years ago

This PR adds the ability to set taper to true so that the taper applies to the entire length of the stroke. You could calculate the stroke length separately and feed it into taper, but since we're already doing this in the library I thought to add it here as an option.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
perfect-freehand-example ✅ Ready (Inspect) Visit Preview Jun 1, 2022 at 2:06PM (UTC)