Skip to content

Breakup long runs of color #8

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gstark
Copy link

@gstark gstark commented Mar 10, 2011

In some designs with areas of solid backgrounds you can end up with long runs of colors. This is a problem at the top and bottom of some designs as it doesn't provide much rigidity. This patch uses a consistently seeded pseudo random number generator to provide variation in brick-run-lenths but ensures that if you reload the design it is the SAME brick runs are used.

Gavin Stark added 2 commits March 9, 2011 19:35
…p bricks) and adds option for choosing width.
…oss reloads) way

The consistency comes from using a psuedo random number generator that takes a consistent seed.
@gstark
Copy link
Author

gstark commented Mar 10, 2011

Ooops, shoot, looks like I merged in another patch I sent in a different pull request. Sorry.

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

Successfully merging this pull request may close these issues.

1 participant