{"id":15068891,"url":"https://github.com/irzinfante/wfc4j","last_synced_at":"2026-01-05T20:07:08.150Z","repository":{"id":164795378,"uuid":"628376675","full_name":"irzinfante/wfc4j","owner":"irzinfante","description":"Library to use the Wave Function Collapse strategy for procedural generation","archived":false,"fork":false,"pushed_at":"2024-09-12T18:21:46.000Z","size":390,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-03T05:02:57.574Z","etag":null,"topics":["game","gamedev","games","java11","library","procedural","procedural-content-generation","procedural-generation","tilemap","tiles","wavefunctioncollapse","wfc"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irzinfante.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-15T18:54:10.000Z","updated_at":"2024-09-12T17:58:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"43978715-526b-4490-8a03-063cd8fb9e02","html_url":"https://github.com/irzinfante/wfc4j","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irzinfante%2Fwfc4j","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irzinfante%2Fwfc4j/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irzinfante%2Fwfc4j/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irzinfante%2Fwfc4j/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irzinfante","download_url":"https://codeload.github.com/irzinfante/wfc4j/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239324784,"owners_count":19620237,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["game","gamedev","games","java11","library","procedural","procedural-content-generation","procedural-generation","tilemap","tiles","wavefunctioncollapse","wfc"],"created_at":"2024-09-25T01:39:38.292Z","updated_at":"2025-11-01T21:30:30.311Z","avatar_url":"https://github.com/irzinfante.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wfc4j - The Wave Function Collapse library for Java\n\nThe ```wfc4j``` library is a Java library that provides an implementation of the wave function collapse algorithm for procedural generation of content. This library can be used to generate a wide variety of content, such as tile maps, textures, and patterns.\n\n## Installation\n\nTo use the ```wfc4j``` library in your Java project, you can include the library as a dependency in your build configuration. Here's an example of how to do it with Maven:\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003edev.irzinfante\u003c/groupId\u003e\n    \u003cartifactId\u003ewfc4j\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nAlternatively, you can download the library JAR file manually and add it to your project's classpath.\n\n## Examples\n\nHere are some examples that demonstrate the usage of the different API of the library:\n\n- 1-dimensional:\n    - [Euclidean (linear grid)](examples/1-dimensional-euclidean.md)\n    - [Toroidal (cyclic grid)](examples/1-dimensional-toroidal.md)\n- 2-dimensional:\n    - [Euclidean (planar grid)](examples/2-dimensional-euclidean.md)\n    - [Toroidal (toroidal grid)](examples/2-dimensional-toroidal.md)\n\n## License\n\nCopyright (C) 2023-2024 Iker Ruiz de Infante Gonzalez iker@irzinfante.dev\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more details.\n\nYou should have received a copy of the GNU Affero General Public License along with this program.  If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\n[LICENSE](LICENSE) contains a copy of the full AGPLv3 licensing conditions.\n\n## Acknowledgments\n\nThe ```wfc4j``` library is inspired on Dan Shiffman's [Coding Challenge 171: Wave Function Collapse](https://youtu.be/rI_y2GAlQFM) video, which is based on the original [Wave Function Collapse Algorithm](https://github.com/mxgmn/WaveFunctionCollapse) developed by Maxim Gumin.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firzinfante%2Fwfc4j","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firzinfante%2Fwfc4j","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firzinfante%2Fwfc4j/lists"}