Skip to content

Commit

Permalink
Release 3.1.0
Browse files Browse the repository at this point in the history
Closes #94
  • Loading branch information
fskpf committed Jul 1, 2023
1 parent 79675a9 commit f9fb91a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ settings and a fixed seed to account for the randomness in the sketched output.
## Credits

- [Rough.js](https://github.com/pshihn/rough) – Draws the hand-drawn elements
- [seedrandom](https://github.com/davidbau/seedrandom) - A seedable RNG
- [svg-pathdata](https://github.com/nfroidure/svg-pathdata) – Parses SVGPathElements
- [TinyColor](https://github.com/bgrins/TinyColor) – Color manipulation

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svg2roughjs",
"version": "3.0.2",
"version": "3.1.0",
"description": "Leverages Rough.js to convert SVGs to a hand-drawn, sketchy representation",
"author": "Fabian Schwarzkopf",
"contributors": [
Expand Down
4 changes: 2 additions & 2 deletions src/Svg2Roughjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ export class Svg2Roughjs {
* Whether to randomize Rough.js' fillWeight, hachureAngle and hachureGap.
* Also randomizes the disableMultiStroke option of Rough.js.
* The randomness may be seeded with the `seed` property.
* By default true.
* By default `true`.
*/
randomize: boolean = true

/**
* Optional seed for the randomness when creating the sketch.
* Providing a value implicitly seeds Rough.js which may be overwritten
* by provding a different seed with the optional `roughConfig` property.
* By default null.
* By default `null`.
*/
seed: number | null = null

Expand Down

0 comments on commit f9fb91a

Please sign in to comment.