← 返回首页
GitHub - ikarth/wfc_python: An implementation of mxgmn/WaveFunctionCollapse in Python · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

ikarth/wfc_python

 master
Go to file
Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
View all files

Repository files navigation

More items

wfc_python

An implementation of mxgmn/WaveFunctionCollapse in Python

WaveFunctionCollapse is an algorithm that generates bitmaps that are locally similar to the input bitmap. This is a translation into Python, based on the original implementation in C#.

This implementation has only had minimal testing and optimization (for example, it uses arrays of ints in places where the original C# code uses bytes). It can probably be sped up quite a lot. I can't promise I'll fix any issues any time soon, but if you run into anything please go ahead and report an issue (or submit a pull-request)!

An updated, re-implemented version of WaveFunctionCollapse in Python can be found at ikarth/wfc_2019f.

About

An implementation of mxgmn/WaveFunctionCollapse in Python

Topics

Resources

License

Stars

141 stars

Watchers

8 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Footer

© 2026 GitHub, Inc.