L-Systems for Plant Generation
摘要
In this chapter, you’ll learn how to implement your own L-System interpreter for generating 2D curves and 3D meshes in Blender Python. L-Systems are grammar-based objects composed of a starting string (axiom) accompanied by a set of rewriting rules that specify how to substitute symbols. Since characters are replaced simultaneously in each iteration, strings produced by L-Systems are inherently suitable for representing self-repeating structures like trees, which is what we’ll focus on in this chapter.