plot icon indicating copy to clipboard operation
plot copied to clipboard

Waffle pattern does not account for strokeWidth

Open mootari opened this issue 1 year ago • 1 comments

When a Waffle mark has a stroke applied, the pattern size does not account for the added stroke width which causes neighboring strokes to bleed through at the edges.

Example:

Plot.waffleX([6], {gap: 6, stroke: "black", strokeWidth: 5}).plot({height: 200})

mootari avatar Oct 04 '24 11:10 mootari

Confirmed, will fix. Note that this only happens when the stroke is a constant, so a stopgap measure could be to write stroke: () => "black".

Fil avatar Oct 19 '24 16:10 Fil