NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #3550 most downloaded on npm
Create graphics using HTML Canvas or SVG with a hand-drawn, sketchy, appearance.
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 1.8 years
Rarely documented
notes for 10 of 47 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
47 releases · first in 2018
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added options to draw dashed lines - *strokeLineDash, strokeLineDashOffset, fillLineDash, fillLineDashOffset*
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Added ability to fill non-svg curves
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Add optional seeding for randomness to ensure shapes generated with same arguments result in same vectors
stroke: "none" will not generate outline vectors anymoresunburst fill style - it had a lot of corner cases where it did not work, and not very popular.Changelog: https://github.com/pshihn/rough/blob/master/CHANGELOG.md#310---2019-03-14
Changelog: https://github.com/pshihn/rough/blob/master/CHANGELOG.md#310---2019-03-14
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
With this release, Rough.js code has been ported to TypeScript. Moving to a typed language helps a lot as the codebase evolves and gets more complex.
With this release, Rough.js code has been ported to TypeScript. Moving to a typed language helps a lot as the codebase evolves and gets more complex.
I also added a few more fill types when filling shapes. In the previous versions, the shapes could be filled with a solid color or sketchy hachure parallel lines. Now there are a few more options:
hachure(default), solid, zigzag, cross-hatch, or dots
rc.rectangle(140, 130, 100, 100, {
fill: 'rgba(255,0,0,0.5)',
fillStyle: 'zigzag',
hachureGap: 8
});
rc.rectangle(270, 130, 100, 100, {
fill: 'rgba(255,0,0,0.5)',
fillStyle: 'cross-hatch',
hachureAngle: 60
});
rc.rectangle(660, 130, 100, 100, {
fill: 'rgba(0,0,0,0.6)',
fillStyle: 'dots',
hachureGap: 5,
fillWeight: 2 // affects the diameter of the dots
});
Nothing published for this version
Fixes https://github.com/pshihn/rough/issues/63
Fixes https://github.com/pshihn/rough/issues/63
Fix for https://github.com/pshihn/rough/issues/55
Fix for https://github.com/pshihn/rough/issues/55
https://github.com/pshihn/rough/wiki/RoughGenerator#svg-path-info
https://github.com/pshihn/rough/wiki/RoughGenerator#svg-path-info
Now Rough.js can be used to render SVG as well. (Not just on canvas). Check out the API. SVG is great for making graphics interactive and with reusabl
Generator support: https://github.com/pshihn/rough/wiki/RoughGenerator
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →