mxgmn/WaveFunctionCollapse
Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics observed · 2026-08-28
Health v2 · maintenance only
56/100
- Activity 73
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3624
- days_rel: n/a
- days_push: 165
- n_releases_24m: 0
Adoption not part of the score
25292 stars · 1351 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A C# implementation of the Wave Function Collapse algorithm that generates bitmaps and tilemaps locally similar to a single example input, using an observation-propagation cycle inspired by quantum mechanics. It is the reference implementation that has been ported to many other languages.
Use cases
- generate tilemaps from a single example tileset
- procedurally generate textures for a game
- create pixel art variations from one sample image
- generate dungeon or level layouts procedurally
- learn how the wave function collapse algorithm works
When to choose
- you need procedural bitmap or tilemap generation constrained to patterns from a sample
- you want the canonical reference implementation of WFC
- you are building a game that needs locally-similar generated content
When to avoid
- you need guaranteed contradiction-free generation with high performance
- you need true quantum computing or actual quantum mechanics simulation
- you need a non-C# implementation without porting
Facets
library · maturity stable
graphics simulation data-generation image-processing graphics machine-learning cross-platform dotnet c procedural-generation wave-function-collapse tilemap-generation constraint-solving gamedev game-development algorithms
1 source
- readme: https://github.com/mxgmn/WaveFunctionCollapse · fetched 2026-08-28 · 878d8b2f4b30
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mxgmn/WaveFunctionCollapse | main | 56 |
For agents
markdown · JSON · MCP: product_card(name="mxgmn/WaveFunctionCollapse")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem