{"id":13732120,"url":"https://github.com/emilk/wfc","last_synced_at":"2025-04-07T07:17:55.839Z","repository":{"id":146962449,"uuid":"69809213","full_name":"emilk/wfc","owner":"emilk","description":"A C++ port of Wave Function Collapse Tiling","archived":false,"fork":false,"pushed_at":"2022-12-07T05:06:57.000Z","size":303,"stargazers_count":330,"open_issues_count":8,"forks_count":33,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-03-31T06:06:27.605Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emilk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2016-10-02T16:50:38.000Z","updated_at":"2025-03-21T06:48:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"faf79cd9-6a9d-49fb-947f-b3aac216f260","html_url":"https://github.com/emilk/wfc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilk%2Fwfc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilk%2Fwfc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilk%2Fwfc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilk%2Fwfc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilk","download_url":"https://codeload.github.com/emilk/wfc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608160,"owners_count":20965953,"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":[],"created_at":"2024-08-03T02:01:46.959Z","updated_at":"2025-04-07T07:17:55.801Z","avatar_url":"https://github.com/emilk.png","language":"C","readme":"# Wave Function Collapse in C++\nThis is a C++ port of https://github.com/mxgmn/WaveFunctionCollapse.\n\nAll sample images come from https://github.com/mxgmn/WaveFunctionCollapse\n\n# License\nThis software is dual-licensed to the public domain and under the following\nlicense: you are granted a perpetual, irrevocable license to copy, modify,\npublish, and distribute this file as you see fit.\n\nThe sample images are from https://github.com/mxgmn/WaveFunctionCollapse, so they are NOT covered by the above license.\n\n# How to get started\n\n    git clone git@github.com:emilk/wfc.git\n    cd wfc\n    ./main.cpp\n\n`./main.cpp` starts with a shell script that downloads dependencies, build, links, and finally runs the program.\n\nThis works on Mac and Linux.\n\n# Requirements\nC++14. Nothing more, really.\n\nAll required third-party libraries are included or downloaded by running `./main.cpp`. These are:\n\n* https://github.com/emilk/configuru (`.cfg` loading)\n* https://github.com/emilk/emilib (small helpers for looping and string formating)\n* https://github.com/emilk/loguru (logging and asserts)\n* https://github.com/nothings/stb (image read/write)\n* http://www.jonolick.com/home/gif-writer (write gif files)\n\n# Performance\nThe sample configuration finishes **25% faster** than the original version (50 vs 40 seconds).\n\nTested on a Linux VM, speed may be better on an installed distribution.\n\n# Limitations\nThis port supports everything in https://github.com/mxgmn/WaveFunctionCollapse (as of October 2016),\nthough with slightly different input ([.cfg files](https://github.com/emilk/Configuru) over .xml, for instance).\n\nThe code is not optimized nor well-documented. It could also do with some further cleanup.\n","funding_links":[],"categories":["Physics"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilk%2Fwfc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilk%2Fwfc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilk%2Fwfc/lists"}