mxgmn/WaveFunctionCollapse
View on GitHub ↗ ★ 25,471 C#
Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
63 mentions on Hacker News by 55 people: 12 stories, 51 comments · first 2016-09-30 · latest 2026-08-04
20082026
-
No I just meant WFC as an algorithm for solving problems. https://github.com/mxgmn/WaveFunctionCollapse It's one of the coolest things I've ever seen. I guess I've been pronouncing it wrong though. It's wave function collapse, not…
comment by andai · 2026-08-04 · in Ten advances in mathematics and theoretical computer science -
▲ 83
Bitmap and tilemap generation from a single examplestory by futurecat · 2026-04-30 · 14 comments
-
▲ 4
Wave Function Collapse Algorithmstory by karmakurtisaani · 2026-04-19 · 1 comment
-
…(e.g. forward checking). [0] https://www.cs.cornell.edu/courses/cs4700/2011fa/lectures/05... [1] https://github.com/mxgmn/WaveFunctionCollapse
comment by jcalx · 2026-03-10 · in Building a Procedural Hex Map with Wave Function Collapse -
This is not Wave Function Collapse. This is a constraint solver. The goal of the original algorithm ( https://github.com/mxgmn/WaveFunctionCollapse ) is to infer the constraints from a sample, and then run a constraint solver. Hard-coding…
comment by linkdd · 2026-03-10 · in Building a Procedural Hex Map with Wave Function Collapse -
…I wonder how well it could be combined with Wave Function Collapse (or the Nested variant) [1] https://github.com/mxgmn/WaveFunctionCollapse [2] https://nyh-dolphin.github.io/en/research/n_wfc/
comment by jasonjmcghee · 2025-12-03 · in GSWT: Gaussian Splatting Wang Tiles -
Did they reinvent "wave function collapse" ( https://github.com/mxgmn/WaveFunctionCollapse )?
comment by theknarf · 2025-10-27 · in WorldGrow: Generating Infinite 3D World -
…[1] https://www.boristhebrave.com/2021/10/26/model-synthesis-and... [2] https://github.com/mxgmn/WaveFunctionCollapse [3] https://github.com/mxgmn/WaveFunctionCollapse?tab=readme-ov-... [4] https://zzyzek.github.io/PunchOutModelSy
comment by zzyzek · 2025-10-03 · in Procedural generation with Wave Function Collapse (2019) -
…repository (and the simplicity of implementation for arbitrary bitmaps), not so much the name. https://github.com/mxgmn/WaveFunctionCollapse As for global repetition, the original repo did have this to say, that selecting tiles is…
comment by capitainenemo · 2025-01-18 · in Generating an infinite world with the Wave Function Collapse algorithm -
…sudoku solvers. https://escholarship.org/content/qt3rm1w0mn/qt3rm1w0mn_noSpl... Maxim Gumin's work: https://github.com/mxgmn/WaveFunctionCollapse Paul Merrell's work: https://paulmerrell.org/model-synthesis/…
comment by DonHopkins · 2025-01-18 · in Generating an infinite world with the Wave Function Collapse algorithm -
…part comes from the original algorithm which inferred the constraints from a sample image : https://github.com/mxgmn/WaveFunctionCollapse Still a misnomer in my opinion, but I noticed that this part of the algorithm was missing from all…
comment by linkdd · 2025-01-18 · in Generating an infinite world with the Wave Function Collapse algorithm -
…also a demo of tile rule inference idea here: https://zzyzek.github.io/TileRuleHighlighter/ [0] https://github.com/mxgmn/WaveFunctionCollapse [1] https://github.com/merrell42/model-synthesis
comment by zzyzek · 2024-09-29 · in Ask HN: What are you working on (September 2024)? -
…algorithm[1] be used for this, ie. generating tiles that are similar to a certain base pattern? [1] https://github.com/mxgmn/WaveFunctionCollapse
comment by nico · 2024-03-15 · in Tiny bitfield based text renderer (2022) -
Related: https://github.com/mxgmn/WaveFunctionCollapse
comment by peter_d_sherman · 2024-02-27 · in I use Wave Function Collapse to create levels for my game (2022) [video] -
Thank you! And yes, I agree. I was looking at uh https://github.com/mxgmn/WaveFunctionCollapse and wondering if that were applicable here :) Have a good day!
comment by SeanAnderson · 2023-09-23 · in It's okay to make something nobody wants -
…sudoku solvers. https://escholarship.org/content/qt3rm1w0mn/qt3rm1w0mn_noSpl... Maxim Gumin's work: https://github.com/mxgmn/WaveFunctionCollapse Paul Merrell's work: https://paulmerrell.org/model-synthesis/…
comment by DonHopkins · 2023-09-12 · in CityDreamer: Compositional Generative Model of Unbounded 3D Cities -
▲ 2
The Wavefunction Collapse Algorithmstory by indigoabstract · 2023-09-01 · 0 comments
-
…to the observed distribution from an example image. [0] https://arxiv.org/pdf/1905.05077.pdf [1] https://github.com/mxgmn/WaveFunctionCollapse
comment by abetusk · 2023-08-22 · in Kullback–Leibler divergence -
…to generalize quite well. Here’s a little demo: https://oskarstalberg.com/game/wave/wave.html [1] https://github.com/mxgmn/WaveFunctionCollapse
comment by ohxh · 2023-03-23 · in Room Generation Using Constraint Satisfaction -
…sudoku solvers. https://escholarship.org/content/qt3rm1w0mn/qt3rm1w0mn_noSpl... Maxim Gumin's work: https://github.com/mxgmn/WaveFunctionCollapse Paul Merrell's work: https://paulmerrell.org/model-synthesis/…
comment by DonHopkins · 2023-01-28 · in Making Sandspiel -
…sudoku solvers. https://escholarship.org/content/qt3rm1w0mn/qt3rm1w0mn_noSpl... Maxim Gumin's work: https://github.com/mxgmn/WaveFunctionCollapse Paul Merrell's work: https://paulmerrell.org/model-synthesis/…
comment by DonHopkins · 2022-11-22 · in Ask HN: What weird technical scene are you fond/part of? -
…generation before, so I was excited to explore how it fared in this context. The GitHub page ( https://github.com/mxgmn/WaveFunctionCollapse ) explains it well--in short, the algorithm starts with a blank canvas as an output, called a…
comment by gasnew · 2022-09-12 · in Show HN: A dense NYT-style crossword constructor using wave function collapse -
Also, a relevant project Wave Function Collapse[0] [0]: https://github.com/mxgmn/WaveFunctionCollapse
comment by max_ · 2022-07-18 · in Practical Real-Time Hex Tiling -
There's https://github.com/mxgmn/WaveFunctionCollapse which works pretty well. (See eg https://www.youtube.com/watch?v=mgWftkTq1XU ).
comment by lgas · 2022-07-11 · in Fluxus – 3D game engine for livecoding worlds into existence -
…of the algorithm running through examples. [2] Past stories about Wave Function Collapse [3] [1] https://github.com/mxgmn/WaveFunctionCollapse Youtube videos of WFC https://www.youtube.com/results?search_query=wave+function+c... [2]…
comment by sitkack · 2022-06-02 · in Show HN: MarkovJunior, PPL based on pattern matching and constraint propagation -
So, about the name, the first time I've heard about WFC was when this post was released https://github.com/mxgmn/WaveFunctionCollapse I did not included it on my readme because I did not used or even looked at their code, but that's the…
comment by atum47 · 2022-05-17 · in Show HN: Simple Wave Function Collapse -
You should message the creator and let him know your thoughts https://github.com/mxgmn/WaveFunctionCollapse
comment by platz · 2022-05-17 · in Show HN: Simple Wave Function Collapse -
…This is referring to a Procedural Generation algorithm named the Wave Function Collapse algorithm: https://github.com/mxgmn/WaveFunctionCollapse
comment by dljsjr · 2022-05-17 · in Show HN: Simple Wave Function Collapse -
This looks like Wave Function Collapse https://github.com/mxgmn/WaveFunctionCollapse It's cool, but I agree with some other commenters that it's not a very good way to generate an entire world, but it is a cool way to generate part of a…
comment by everyone · 2022-01-10 · in Procedural Worlds from Simple Tiles -
The original implementation[0] has a comprehensive description in the README file. [0] https://github.com/mxgmn/WaveFunctionCollapse
comment by max_ · 2022-01-05 · in Wave Function Collapse library in pure C -
…ABCDE, and the network would learn to predict C from A,B,D,E. Similar idea without neural networks: https://github.com/mxgmn/WaveFunctionCollapse I'm surprised no one applied this idea to Minecraft yet. There's even a 3D version:…
comment by WithinReason · 2021-12-05 · in One decade later, Minecraft world generation is interesting again -
…for it as I always hated it being called "wave function collapse" when that is a physics thing. [0] https://github.com/mxgmn/WaveFunctionCollapse
comment by t8y · 2021-12-02 · in Townscaper Running in the Browser -
…Function Collapse[1] utility or similar that could take these wallpaper fragments as seeds? [1] https://github.com/mxgmn/WaveFunctionCollapse
comment by xanth · 2021-11-03 · in William Morris and wallpaper design (2018) -
▲ 281
WaveFunctionCollapse: Generates bitmaps that are locally similar to the inputstory by lnyan · 2021-07-16 · 39 comments
-
…quite nicely when parametrized with artistic care - this is a "simpler" example of the concept. https://github.com/mxgmn/WaveFunctionCollapse 2. Fairly good understanding how to synthesize terrain. Terragen is a good example of this…
comment by fsloth · 2021-06-25 · in Nvidia Canvas -
…algorithm [0]. It "generates bitmaps that are locally similar to the input bitmap." Very cool! [0]: https://github.com/mxgmn/WaveFunctionCollapse
comment by enricozb · 2021-02-12 · in Self-organising textures from cellular automata -
▲ 1
Generation from a single example with the help of ideas from quantum mechanicsstory by csm-yujinkim · 2020-10-25 · 0 comments
-
…I recall correctly) to select fitting tiles when the player clicks on the map to build something. https://github.com/mxgmn/WaveFunctionCollapse In the section about notable forks, ports and spin-offs there are some links to Oskar…
comment by polytely · 2020-07-25 · in Townscaper – A building game inspired by the design of Scandinavian cities -
Reminds me of the Wave Function Collapse algorithm, although doesn't look to be that. https://github.com/mxgmn/WaveFunctionCollapse What algorithm is this using? Got a GitHub link?
comment by winrid · 2020-06-21 · in Show HN: Random Roads -
Check this out https://github.com/mxgmn/WaveFunctionCollapse
comment by helltone · 2020-01-29 · in Ask HN: What interesting problems are you working on? -
▲ 1
WaveFunctionCollapse: Bitmap and tilemap generation from a single examplestory by anchpop · 2019-09-14 · 0 comments
-
▲ 3
Program generates bitmaps that are locally similar to the input bitmapstory by flancian · 2019-08-24 · 0 comments
-
▲ 3
Wave Function Collapse Algorithmstory by doppp · 2019-06-23 · 0 comments
-
▲ 1
WaveFunctionCollapsestory by m0th87 · 2019-06-20 · 0 comments
-
▲ 4
Wave function collapse inspires bitmap generation ML algostory by youlweb · 2019-06-12 · 0 comments
-
I'd start with https://github.com/mxgmn/WaveFunctionCollapse
comment by skinner_ · 2019-03-26 · in 10 PRINT CHR$(205.5+RND(1)); : GOTO 10 (2012) -
…neural techniques. Results tend to have fewer artefacts, better long range order ;) Original repo: https://github.com/mxgmn/WaveFunctionCollapse
comment by ArtWomb · 2018-12-22 · in The Wavefunction Collapse Algorithm explained -
i wonder if you can just chop up 50 fingerprints an feed them to https://github.com/mxgmn/WaveFunctionCollapse
comment by leeoniya · 2018-11-25 · in Researchers Created Fake 'Master' Fingerprints to Unlock Smartphones -
…on wave-function collapse, what does it do when it hits an impossible/contradictory state? (See https://github.com/mxgmn/WaveFunctionCollapse where it mentions "It may happen that during propagation all the coefficients for a certain pixel…
comment by rntz · 2018-11-13 · in Infinite procedurally-generated city with the Wave Function Collapse algorithm -
…Unity) https://github.com/marian42/wavefunctioncollapse Original Wave Function Collapse Algorithm https://github.com/mxgmn/WaveFunctionCollapse
comment by MrStonedOne · 2018-11-13 · in Infinite procedurally-generated city with the Wave Function Collapse algorithm