Hacker GitHub

← All repos

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

Mentions per year 63 mentions · busiest year 2018 (13)
20082026
  1. …https://github.com/marian42/wavefunctioncollapse * Original Wave Function Collapse Algorithm: https://github.com/mxgmn/WaveFunctionCollapse
  2. Amazing work! I've been excited about this technique since I first saw the original demos of it ( https://github.com/mxgmn/WaveFunctionCollapse ) - but can someone explain (at a very high level) how Wave Function Collapse works? I've read…
  3. …earlier[2]. Hence why this is the only implementation I've seen with non-local constraints[3] [1]: https://github.com/mxgmn/WaveFunctionCollapse [2]: https://www.boristhebrave.com/2018/04/28/random-paths-via-ch... [3]:…
  4. Oh also here is the original creator of the algorithm that this implementation is based on: https://github.com/mxgmn/WaveFunctionCollapse Even more examples up there.
  5. Another generator project I like: https://github.com/mxgmn/WaveFunctionCollapse
    comment by gnode · 2018-09-07 · in Medieval Fantasy City Generator
  6. …the building generator can be seeded by the terrain relief. But it's not trivial for sure. See also https://github.com/mxgmn/WaveFunctionCollapse#higher-dimensi... because it's relevant and looks awesome :)
  7. did not see this mentioned: https://github.com/mxgmn/WaveFunctionCollapse
  8. …in either case, if you hack on it I suspect you'll eventually wind up doing something ad-hoc..) https://github.com/mxgmn/WaveFunctionCollapse
  9. ▲ 153
    Tilemap generation from single example using ideas from quantum mechanics
    story by _Microft · 2018-02-19 · 9 comments
  10. …them. I’ve recently set myself the goal of implementing the ”Wave Function Collapse Algorithm” ( https://github.com/mxgmn/WaveFunctionCollapse/blob/master/RE... ) in P5.js as a kind of catalyst to get me going.
  11. …is best juxtaposed with articles about image synthesis: * Wave Function Collapse image generator https://github.com/mxgmn/WaveFunctionCollapse * Image Synthesis from Yahoo's open_nsfw: https://open_nsfw.gitlab.io * Generative Adversarial…
    comment by dietrichepp · 2016-10-21 · in The McMansion Scale, Explained
  12. I opened this ticket: https://github.com/mxgmn/WaveFunctionCollapse/issues/2
  13. ▲ 1,226
    Show HN: Wave function collapse algorithm
    story by ExUtumno · 2016-09-30 · 122 comments