d3.sketchy
d3.sketchy copied to clipboard
Render Bug with RectFill
Just a minor change in the code for the multiple rects example causes problems with rendering:
for(var i = 0; i<19; i++){
sketchy.rectFill({
x:25,
y:110 * i,
width:200,
height:100,
svg: svg,
density:1,
angle:i*10,
sketch: 0.5
});
}
Here's a block if that helps:
Notice it's not just the pattern rendering, but also the offset of the paths. It looks like the offset may be calculated twice.