Closed vinjohn closed 1 year ago
Yes, this is a mistake, can you post at https://github.com/shiffman/The-Nature-of-Code/issues and then close this one? (It's confusing I realize but this natureofcode.com repo is for website bugs but the book content itself is generated at the other one.)
This has been updated in the 2nd edition! https://github.com/nature-of-code/book-website-2nd-edition!
From Section 8.6 L-systems, Chapter 8, when describing FG+-[] by code,
I could be wrong but I think it should be if(c=='F'){}else if(c=='G')? After all it's just minor mistake, readers can easily infer from the context.