skip to main content
10.1145/3337722.3337752acmotherconferencesArticle/Chapter ViewAbstractPublication PagesfdgConference Proceedingsconference-collections
research-article
Open Access

Enhancing wave function collapse with design-level constraints

Published:26 August 2019Publication History

ABSTRACT

Wave Function Collapse (WFC) is a non-backtracking, greedy search algorithm that is commonly known for its ability to take an example image and generate similar images. Since its inception, technical artists have explored the algorithm's extensibility and usability through various implementations spanning from 3D world generation to poetry creation. However, there has been no integration of design constraints into the generative process. In this paper, we explore WFC as a constraint satisfaction solver to integrate design principles and practices by modifying components within the algorithm. First, we extend the local constraint reasoning by incorporating non-local constraints as well as upper and lower bounds. Next, we further manipulate the generative space by introducing weight recalculation and dependencies. Lastly, we evaluate our design-focused variant of WFC against the original implementation to examine the associated costs in computational time and memory usage. In summary, this paper describes a technical implementation of integrating design constraints into WFC and analyzes the computational trade-offs.

References

  1. R. Moss, "7 uses of procedural generation that all developers should study." {Online}. Available: /view/news/262869/7_uses_of_procedural_generation_that_all_developers_should_study.php. {Accessed: 12-Jan-2019}.Google ScholarGoogle Scholar
  2. N. Shaker, A. Liapis, J. Togelius, R. Lopes, and R. Bidarra, "Constructive generation methods for dungeons and levels," in Procedural Content Generation in Games, Cham: Springer International Publishing, 2016, pp. 31--55.Google ScholarGoogle Scholar
  3. M. J. Nelson and A. M. Smith, "ASP with Applications to Mazes and Levels," in Procedural Content Generation in Games, Cham: Springer International Publishing, 2016, pp. 143--157.Google ScholarGoogle Scholar
  4. Y.-G. Cheong, M. O. Riedl, B.-C. Bae, and M. J. Nelson, "Planning with applications to quests and story," in Procedural Content Generation in Games, Cham: Springer International Publishing, 2016, pp. 123--141.Google ScholarGoogle Scholar
  5. No Man's Sky. Hello Games, 2016.Google ScholarGoogle Scholar
  6. A. M. Smith and M. Mateas, "Answer Set Programming for Procedural Content Generation: A Design Space Approach," IEEE Trans. Comput. Intell. AI Games, vol. 3, no. 3, pp. 187--200, Sep. 2011.Google ScholarGoogle Scholar
  7. J. Togelius, G. N. Yannakakis, K. O. Stanley, and C. Browne, "Search-Based Procedural Content Generation: A Taxonomy and Survey," IEEE Trans. Comput. Intell. AI Games, vol. 3, no. 3, pp. 172--186, Sep. 2011.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. D. Ashlock, S. Risi, and J. Togelius, "Representations for search-based methods," in Procedural Content Generation in Games, Cham: Springer International Publishing, 2016, pp. 159--179.Google ScholarGoogle Scholar
  9. ExUtumno, Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics.: mxgmn/WaveFunctionCollapse. 2019.Google ScholarGoogle Scholar
  10. I. Karth and A. M. Smith, "WaveFunctionCollapse is constraint solving in the wild," in Proceedings of the International Conference on the Foundations of Digital Games - FDG '17, Hyannis, Massachusetts, 2017, pp. 1--10. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Bad North. Plausible Concept, 2018.Google ScholarGoogle Scholar
  12. Caves of Qud. Freehold Games, 2019.Google ScholarGoogle Scholar
  13. "mxgmn / Basic3DWFC." {Online}. Available: https://bitbucket.org/mxgmn/basic3dwfc. {Accessed: 12-Jan-2019}.Google ScholarGoogle Scholar
  14. M. O'Leary, Oisín: Wave Function Collapse for poetry. Contribute to mewo2/oisin development by creating an account on GitHub. 2019.Google ScholarGoogle Scholar
  15. I. Karth and A. M. Smith, "Addressing the Fundamental Tension of PCGML with Discriminative Learning," ArXiv180904432 Cs Stat, Sep. 2018.Google ScholarGoogle Scholar
  16. G. Smith, J. Whitehead, and M. Mateas, "Tanagra: Reactive Planning and Constraint Solving for Mixed-Initiative Level Design," IEEE Trans. Comput. Intell. AI Games, vol. 3, no. 3, pp. 201--215, Sep. 2011.Google ScholarGoogle Scholar
  17. A. Liapis, G. Smith, and N. Shaker, "Mixed-initiative content creation," in Procedural Content Generation in Games, Cham: Springer International Publishing, 2016, pp. 195--214.Google ScholarGoogle Scholar
  18. E. Butler, A. M. Smith, Y.-E. Liu, and Z. Popovic, "A mixed-initiative tool for designing level progressions in games," in Proceedings of the 26th annual ACM symposium on User interface software and technology - UIST '13, St. Andrews, Scotland, United Kingdom, 2013, pp. 377--386. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Enhancing wave function collapse with design-level constraints

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          FDG '19: Proceedings of the 14th International Conference on the Foundations of Digital Games
          August 2019
          822 pages
          ISBN:9781450372176
          DOI:10.1145/3337722

          Copyright © 2019 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 26 August 2019

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          FDG '19 Paper Acceptance Rate46of124submissions,37%Overall Acceptance Rate152of415submissions,37%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader