MADjestic Posted May 6, 2015 Share Posted May 6, 2015 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 gosper_curve.hip Quote Link to comment Share on other sites More sharing options...
eetu Posted May 6, 2015 Share Posted May 6, 2015 Seems like LF needs to FL, the APOB recipe is a bit vague on that. http://www.wolframalpha.com/input/?i=peano-gosper+curve gosper_curvee.hip Quote Link to comment Share on other sites More sharing options...
MADjestic Posted May 6, 2015 Author Share Posted May 6, 2015 (edited) 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? Regards, Vlad sierpnski.hipnc Edited May 6, 2015 by MADjestic Quote Link to comment Share on other sites More sharing options...
Robert Posted May 6, 2015 Share Posted May 6, 2015 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". Quote Link to comment Share on other sites More sharing options...
MADjestic Posted May 6, 2015 Author Share Posted May 6, 2015 (edited) 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. gosper.hip Edited May 6, 2015 by MADjestic Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.