Jump to content

L-systems again


Lukich

Recommended Posts

Hi. I'm trying to create a lightning using L-system. However, the lightning presets are too fast, so I'm trying to find a way to slow them down. My question is - is there a way to set an if - else logic in L-systems? Or, to put it another way, if I say Premise FA, Rule1 A:t%10 = ~(45)FA. - what rules does the l-system use when this expression is false? Thanks a lot.

Link to comment
Share on other sites

Hi!

If there is no rule, where the expression evaluates to true, Houdini doesn't replace the considered symbol. This means, that the growth will stop.

If you want the shape of the lightning change slower, you can change the expression in the random-seed parameter (Geometry-tab) from $F to $F/10 for example. Since this is an integer-parameter this value won't change for 10 frames and the shape of the lightning will stay just as long.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...