rough-stuff / rough

Create graphics with a hand-drawn, sketchy, appearance
http://roughjs.com
MIT License
19.73k stars 611 forks source link

Dot filling is not constant with fixed seed #211

Open tneullas opened 1 year ago

tneullas commented 1 year ago

Hello, I want to use dots fillStyle but I have an issue with it. Everytime I use it, it changes dots positions even if the seed is fixed.

In my app, I have a loop to draw and dots are moving on each draw call which is quite disturbing. Note that I have tested with others fillStyle and it works for others filling. Here is my conf if it can helps :

{
    fillStyle: "dots",
    fill: "rgb(119, 217, 93)",
    seed: 1,
    stroke: "black",
    roughness: 3,
    strokeWidth: 5
}