this post was submitted on 27 Oct 2023
22 points (100.0% liked)

Rust

5979 readers
62 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
 

I'm working on a parsing library for mil-std-1553 messages. It's a fun, minimal project that doesn't currently exist as far as I can tell.

you are viewing a single comment's thread
view the rest of the comments
[–] livingcoder@programming.dev 1 points 1 year ago* (last edited 1 year ago)

I spent a couple months creating a modular wave function collapse library that solves any kind of constraint problem where you can specify the collapse algorithm to match the problem. It's domain-independent since it uses generic "nodes" (graph nodes that can be of any predefined state) that have relationships with other nodes.

There are a few examples, so please feel free to experiment. If you can answer the questions listed out in the readme's Usage section, you'll have no trouble following an example similar to your problem's domain.

https://github.com/AustinHellerRepo/WaveFunctionCollapse

https://crates.io/crates/wave-function-collapse