MarkovJunior
jetscii
Our great sponsors
MarkovJunior | jetscii | |
---|---|---|
36 | 2 | |
6,780 | 106 | |
- | - | |
2.5 | 2.9 | |
12 months ago | 7 months ago | |
C# | Rust | |
MIT License | Apache License 2.0 |
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.
jetscii
- Recommended DOCX Crate?
-
Property-Based Testing in Rust with Arbitrary
If you enjoy reading Rust code, you can see some examples I have...
1. This example [1] compares a SIMD-accelerated implementation of an algorithm vs the naive implementation. This is usually referred to as an "oracle".
2. This example [2] tests an XML document object model library. The tests construct a sequence of operations to apply to a document ("add an element", "delete an element", "move an element" etc) and then assert properties that you expect to be true for a DOM tree (a parent and child are always cross-linked, for example)
[1]: https://github.com/shepmaster/jetscii/blob/8d7e44ad7da990ef1...
[2]: https://github.com/shepmaster/sxd/pull/21/files#diff-fc21cbf...
What are some alternatives?
WaveFunctionCollapse - Bitmap & tilemap generation from a single example with the help of ideas from quantum mechanics
sxd
Blog - About math, programming and procedural generation
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
yarpgen - Yet Another Random Program Generator