Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render Bug with RectFill #3

Open
emeeks opened this issue Aug 9, 2015 · 1 comment
Open

Render Bug with RectFill #3

emeeks opened this issue Aug 9, 2015 · 1 comment

Comments

@emeeks
Copy link

emeeks commented Aug 9, 2015

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
                });
            }

screen shot 2015-08-08 at 10 40 37 pm

Here's a block if that helps:

http://bl.ocks.org/emeeks/703bb8f302443dbbd7e7

@emeeks
Copy link
Author

emeeks commented Aug 9, 2015

Notice it's not just the pattern rendering, but also the offset of the paths. It looks like the offset may be calculated twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant