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

Another strategy for words placement #17

Open
sixty-nine opened this issue Jun 6, 2018 · 0 comments
Open

Another strategy for words placement #17

sixty-nine opened this issue Jun 6, 2018 · 0 comments

Comments

@sixty-nine
Copy link
Owner

sixty-nine commented Jun 6, 2018

The problem of creating clouds of words where words do not overlap is closely related to the one of randomly generating dungeons.

A strategy that can be chosen to generate dungeons is to create lot of random overlapping rectangles in the center of the map, then progressively separate one to each other by generating small displacement forces from one box gravity center to the other.

See:

This shouldn't be too difficult to adapt to the generation of coulds of words.

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

No branches or pull requests

1 participant