News for hackers. Stuff that matters.
Re:Lindenmayer System in Clojure by zck on Wednesday January 27, 2010 @08:20AM (#1080423)
Interesting; this article says the rewrite rule is F -> F+F-F-F+F , but Wikipedia says F → F−F++F−F . I think Wikipedia's is right, as (for a beginning) there are only four line segments in step N+1 for each line segment in step N. Take out the F between the minus signs in this article's rule, and it would be correct ( F -> F+F--F+F ), allowing for mirroring of the Wikipedia formula.
Re:Lindenmayer System in Clojure by nakkaya on Wednesday January 27, 2010 @03:46PM (#1081745)
My mistake linked to the wrong page, formula I used is from L-System article, example 4.