-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
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:
- https://github.com/sixty-nine/rpg/blob/master/map/Placement/placement.py
- https://github.com/sixty-nine/rpg/blob/master/pygame/box-placement.py
- https://github.com/sixty-nine/rpg/blob/master/pygame/box-placement2.py
This shouldn't be too difficult to adapt to the generation of coulds of words.