Jump to content

Gosper Curve


Recommended Posts

Hey folks,


Here's a Gosper Curve attempt, following the reference from Algorithmic Beauty of Plants  p.12 (FASS curve construction).


As you can see from the hip file, it is not entirely correct, though looks somewhat similar.  I spent 2 evenings on it and failed.  Any ideas?:


Premise: L

Rule 1: L -> LF + RF ++ RF - LF -- LFLF - RF +

Rule 2: R -> - LF + RFRF ++ RF + LF -- LF - RF




Link to comment
Share on other sites

Yes!  Thanks, Eetu.


I noticed that, as compared to ABOP rules, Houdini L-Systems rules need (sometimes, but not always) L, instead of FL (similar with R); also LF and FL (FR/RF) are not the same, though I did not quite figure out the pattern.  


Here's another example: Sierpinsky Kasket where LF and RF seem to work (as opposed to FL in the previous example).  I do not understand when we need LF and when FL, other than sometimes one works and another does not.


Any insights on this?






Edited by MADjestic
Link to comment
Share on other sites

There is an l-system preset in the little gear drop down menu for the gosper curve. The method they used to do the "left" and "right" syntax is explained in the help files for the l-system under the header "edge rewriting".

Link to comment
Share on other sites

Thanks, Robert


Of course I am aware of the presets.  However in the time of looking into it, the rules made little sense to me.  Now when I've been looking into ABOP, I managed to forget about the Gosper preset.  Oh well, another wheel re-invented.  :)


That closes the question.


Edited by MADjestic
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.

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...