wfc
fast-wfc
wfc | fast-wfc | |
---|---|---|
8 | 2 | |
334 | 391 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | over 2 years ago | |
C | C++ | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wfc
- Wave Function Collapse library in pure C (plus a CLI tool)
-
Hacker News top posts: Jan 5, 2022
Wave Function Collapse library in pure C\ (37 comments)
-
Wave Function Collapse library in pure C
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 header gives a bit more flexibility considering the file layout. IMHO this is an awkward consequence of the missing de-facto-standard in C/C++ build systems.
- Procedural Map Generation: Wave Function Collapse library in C (plus a CLI tool)
-
Ask HN: What are some tools / libraries you built yourself?
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 method to the library some time.
- Show HN: Wave Function Collapse library in C, plus command-line tool
fast-wfc
-
Procedural Map Generation: Wave Function Collapse library in C (plus a CLI tool)
I tried one time to make my own WFC implementation in C++, and it didn't work and I ended up using this, what references you used?, btw great job
-
WaveFunctionCollapse: Generates bitmaps that are locally similar to the input
I used this algorithm to generate minigolf courses [1].
I used this repo [2].
The algorithm is literally just a constraint solver. I'm pretty sure it's pretty similar to the sudoku solver I wrote in prolog for a university course.
It's kinda pretentiously named and described, probably because its more academic to do that. It's just a constraint solver.
1: https://twitter.com/00jknight/status/1249091532071645184
2: https://github.com/math-fehr/fast-wfc
What are some alternatives?
kondo - Cleans dependencies and build artifacts from your projects.
DeBroglie - DeBroglie is a C# library implementing the Wave Function Collapse algorithm with support for additional non-local constraints, and other useful features.
vaku - vaku extends the vault api & cli
texture-synthesis - 🎨 Example-based texture synthesis written in Rust 🦀
Pion WebRTC - Pure Go implementation of the WebRTC API
WaveFunctionCollapse - Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
snipp.in - Fast, Light-weight, Notes, Snippet manager and code editor directly inside your browser
RuntimeMeshComponent - Unreal Engine 4 plugin component for rendering runtime generated content. [Moved to: https://github.com/TriAxis-Games/RealtimeMeshComponent]
gutenberg - A fast static site generator in a single binary with everything built-in. https://www.getzola.org
3DWorld - 3D Procedural Game Engine Using OpenGL
GoJS, a JavaScript Library for HTML Diagrams - JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
pioneer - A game of lonely space adventure