Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


My mistake linked to the wrong page, formula I used is from L-System article, example 4.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: