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
20082026
-
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…
comment by ktpsns · 2022-01-05 · in Wave Function Collapse library in pure C -
▲ 136
Wave Function Collapse library in pure Cstory by graderjs · 2022-01-05 · 84 comments
-
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…
comment by krychu · 2021-05-17 · in Ask HN: What are some tools / libraries you built yourself? -
▲ 2
Show HN: Wave Function Collapse library in C, plus command-line toolstory by krychu · 2021-04-27 · 1 comment