Skip to content

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