mxgmn / MarkovJunior

Probabilistic language based on pattern matching and constraint propagation, 153 examples
MIT License
7.49k stars 316 forks source link

Customizability of models? #14

Closed jeekca closed 2 years ago

jeekca commented 2 years ago

Hey guys,

Amazing tool. I generated several CarmaTowers and I was greatly impressed with the results.

That said, I've read most of the documentation, and yet I'm still not able to wrap my head around the process of creating a custom model with its own rules/constraints/MagicaVoxel pieces. In other words, I'm looking to generate my own CarmaTower-type buildings, but the XML of CarmaTower.xml is a tad cryptic at the moment, especially without any documentation.

I know this was just released, so please tell me if it's too early to attempt such a thing.

Thanks a ton!

mxgmn commented 2 years ago

CarmaTower is one of the most advanced models here. I recommend starting with models mentioned in the README and seeing how they look in .xml form: Basic -> Growth -> MazeGrowth -> ... -> NystromDungeon -> .... And then try to modify them and see what happens.

A few tips. In models.xml:

  1. Set gif="True" to see all steps the interpreter is making.
  2. Set gui="300" to see which nodes are active on each step.
jeekca commented 2 years ago

Ah! Duly noted. Thank you so much @mxgmn!