MarkovJunior
yarpgen
Our great sponsors
MarkovJunior | yarpgen | |
---|---|---|
36 | 3 | |
6,780 | 452 | |
- | 2.0% | |
2.5 | 6.0 | |
12 months ago | about 1 month ago | |
C# | C++ | |
MIT License | 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.
MarkovJunior
-
Making some Wave Function Collapse for Grasshopper, WIP. 3d overlapping model. Need a way to work out conflicts better.
Our of curiosity, have you seen MarkovJunior, from the same developer? It's a generalization of WFC into a far more powerful probabilistic programming language capable of not only assembling random maps, but even generating solveable Sokoban levels?
-
First few things I generated with my Markov algorithm procedural generation framework
It's not WFC but I'll be working on this soon too. For now I rewrote MarkovJunior in Rust, and made it into a library that is both faster and easly extensible.
-
Probabilistic language based on pattern matching and constraint propagation
Github source by the mxgmn
- MarkovJunior, a probabilistic programming language based on pattern matching and constraint propagation
-
Wave function collapse with user input?
Have https://cragl.cs.gmu.edu/pixelate/ be used to preserve features of your input image and keep the resolution input low for WFC, then randomly select features (shapes) from the input image to be used for procedural creation, like in the Dungeon Growth example from: https://github.com/mxgmn/MarkovJunior
-
Property-Based Testing in Rust with Arbitrary
I've done a similar thing myself when trying to test operations on a hierarchical database for my internal product.
Biggest difficulty for me was that some combinations of operations were illegal and I had to think about all the edge cases and filter them out, and this took a long time.
My SO works in hardware, and she says they always use a constraint solver to generate test cases / test vectors, and she never understood why this wasn't popular in software. I googled it a bit and found lots of academic papers but no concrete implementation.
I've also thought about generating test vectors using a generator based on Markov chains, I wrote about that here [0], based on this [1] submission.
I'm not familiar enough with either using constraint solvers to generate test cases, or Markov chains, to know if I'm talking nonsense here or is it just something that nobody thought to develop properly.
[0] https://news.ycombinator.com/item?id=31704791
[1] https://github.com/mxgmn/MarkovJunior
- ggez Falling Sand Simulation: Best way to draw massive amount of individual pixels every frame
-
Designing a ruleset when the game state is only pixels
Have you played with MarkovJunior? You can write game rules in 2 or 3 dimensions (or any other dimension) using colors.
- Here is a small preview of the city builder I'm building solo. Any feedback is very welcome!
-
ProcGen Experiments MarkovJunior-style
I implemented my own take on MarkovJunior (https://github.com/mxgmn/MarkovJunior), which is fancy pattern replacement (from the same mind who gave us WaveFunctionCollapse). Here is some dungeon creation algorithm.
yarpgen
-
Property-Based Testing in Rust with Arbitrary
One also may bias values to be similar (or equal) to other recently generated values. This was a trick used in the compiler tester yarpgen, where it was useful in testing optimization of bitwise operators on integers.
https://github.com/intel/yarpgen
https://github.com/intel/yarpgen/blob/main/papers/yarpgen-oo...
(see "Policies for constants", page 196:8.)
-
Finding Bugs in C and C++ Compilers using YARPGen
This is really impressive! A link to the github if anyone wants to check out the code: https://github.com/intel/yarpgen/blob/main/README.md
Here's a list of bugs found by Yarpgen: https://github.com/intel/yarpgen/blob/main/bugs.rst
What are some alternatives?
WaveFunctionCollapse - Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
csmith - Csmith, a random generator of C programs
Blog - About math, programming and procedural generation
sxd
FallingSandJava - Falling Sand Simulation implemented in Java. Every pixel is simulated every frame and has its own state and intrinsic motivations.
screen-13 - Screen 13 is an easy-to-use Vulkan rendering engine in the spirit of QBasic.
cadquery - A python parametric CAD scripting framework based on OCCT
litematica-printer - An extension for Litematica that adds the missing printer functionality for 1.19, 1.18 and 1.17
hextile-demo - demonstrates hex-tiling
jetscii - A tiny library to efficiently search strings for sets of ASCII characters and byte slices for sets of bytes.