Over to You
Turtle graphics exist for many programming languages, though unlike Python, most are implementations available as libraries. You can even build your own to use with your favorite language. You’ll revisit turtles in the final chapter, Chapter 10, Optimize! Find the Best. Until then, you’ll use other ways to draw results.
If you wish to explore turtle graphics further, you may want to read about L-systems. The biologist Aristid Lindenmayer invented these to mathematically describe plants growing. Your spirangles grew iteratively. L-systems grow recursively, following simple looking rules made of symbols. Some symbols mean go forward, say F, or turn, maybe - for left and + for right. L-systems have rules built from these basic symbols, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access