Randomizing the parameters to calculate the number of generations had too much variation. It was hard to generate a valid set of primary veins.
A couple options come to mind:
- Have a number of preset parameter values that work together.
- Calculate the resulting length of the primary veins and reject ones that are too big or too small.
- Randomize separately from other parameters, similar to what I did for the wing base.