Hacker GitHub

← All repos

krychu/wfc

View on GitHub ↗ ★ 366 C

Wave Function Collapse library in C, plus a command-line tool

4 mentions on Hacker News by 3 people: 2 stories, 2 comments · first 2021-04-27 · latest 2022-01-05

Mentions per year 4 mentions · busiest year 2021 (2)
20082026
  1. This is a typical idiom frequently seen in modern C and C++ codes. As https://github.com/krychu/wfc#how-to-use-the-library says, you need to define a macro in a C file in order to "expand" the actual code there. Having the code in the…
  2. ▲ 136
    Wave Function Collapse library in pure C
    story by graderjs · 2022-01-05 · 84 comments
  3. I recently wrote a single-file library in C for Wave Function Collapse: https://github.com/krychu/wfc It’s a procgen algorithm that takes small image as input and generates a larger one with similar local features. I hope to add tiled…
  4. ▲ 2
    Show HN: Wave Function Collapse library in C, plus command-line tool
    story by krychu · 2021-04-27 · 1 comment