Wave Function Collapse
There are 2 elements in the scene that you can interact with: the slider and the regenerate button. The slider represents the speed of the algorithm, how many steps it may take per small time unit. 11 (default) will result in full speed instead of 11 steps per time unit.
The button is there so you can use the algorithm again! Enjoy the random generations :)
Wave Function Collapse in short? The idea is to pick a random spot and a random 'level tile' (3D object containing f.e. a roadpiece or a house). After placing that object, the algorithm then updates the neighbouring spots, to restrict the options left for that particular spot based on the (previously) chosen tile. If this was too complicated, don't worry! There are wayy better explanations on YouTube f.e. :)
Status | Released |
Platforms | HTML5 |
Author | Teambeurnaut |
Made with | Unity |