Hacker News new | ask | show | jobs
by deosjr 1076 days ago
I tried for a bit and couldn't get it to work either. The dragon curve example is a lot more complicated than the simplest definition, which is a hint. I don't even know exactly what | or [ or ] are supposed to do here.

Here's a version in Go instead: https://github.com/deosjr/GenGeo/blob/master/gen/lindenmayer... Which renders into: https://github.com/deosjr/GenGeo/blob/83c77f9433e569b30f71b3... (see Algorithmic Beauty of Plants for way more examples)