L-system - randomly pick one of several rule

Hello there,
I want to create an L-system in which one of 4 rules is being picked at random for each new generation.
I wrote the latter:

Premise : X

X = A:.025
X = B:.025
X = C:.025
X = D:.025
A = something…
B = something…
C = something…
D = something…

That doesn’t seem to work, one rule is being selected randomly at the first generation indeed but then remains the same for every other generation. So I’m getting the logic wrong obviously. Any help appreciated!

hello Tom,

could you provie a sample-File so i could look at your problem?

:slight_smile:

Sorry for the late reply. Must’ve done something wrong in the first place cause when I tried to create a example to share with you it actually worked this time… :man_shrugging: