-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Hello,
I think I have another feature request.
I was revisiting the old article you mentioned in your readme.
http://www.neocomputer.org/projects/eller.html
The final part of the article briefly highlights something about texture bias. Basically it is the ability to shift the probability of adding a right or bottom wall. The result is either longer columns or longer rows. A more vertical maze or a more horizontal maze.
From reading your code, you already have the right probability argument for mergeRandomSetsIn where you knock down right walls, but it is always passed from code and not from the options passed with the public function generate.
Probably also the if (exit) { in addSetExits needs to be influenced somehow for the bottom walls.
Having the texture option at generate would be nice...
If you don't have time, I could send you a PR...
Kind regards,
Quinten