Skip to content

Conversation

@Sheraff
Copy link
Owner

@Sheraff Sheraff commented Oct 4, 2024

Adding randomness to wave function collapse makes the result prettier.

However it makes it harder to keep track of the choices made (choices become random instead of in-order), and this current implementation now creates a lot of small arrays.

We probably can make a more efficient implementation by keeping a single choices array of length width * height * tiles (since for each of the w×h cells, we can have up to t options)

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.

2 participants