L-Py: An L-System Simulation Framework for Modeling Plant Architecture Development Based on a Dynamic Language

The study of plant development requires increasingly powerful modeling tools to help understand and simulate the growth and functioning of plants. In the last decade, the formalism of L-systems has emerged as a major paradigm for modeling plant development. Previous implementations of this formalism were made based on static languages, i.e., languages that require explicit definition of variable types before using them. These languages are often efficient but involve quite a lot of syntactic overhead, thus restricting the flexibility of use for modelers. In this work, we present an adaptation of L-systems to the Python language, a popular and powerful open-license dynamic language. We show that the use of dynamic language properties makes it possible to enhance the development of plant growth models: (i) by keeping a simple syntax while allowing for high-level programming constructs, (ii) by making code execution easy and avoiding compilation overhead, (iii) by allowing a high-level of model reusability and the building of complex modular models, and (iv) by providing powerful solutions to integrate MTG data-structures (that are a common way to represent plants at several scales) into L-systems and thus enabling to use a wide spectrum of computer tools based on MTGs developed for plant architecture. We then illustrate the use of L-Py in real applications to build complex models or to teach plant modeling in the classroom.

[1]  R. Munns,et al.  Functional Plant Biology , 2013 .

[2]  Przemyslaw Prusinkiewicz A look at the visual modeling of plants using L-systems , 1999 .

[3]  Christophe Godin,et al.  PlantGL: A Python-based geometric library for 3D plant modelling at different scales , 2009, Graph. Model..

[4]  Les A. Piegl,et al.  The NURBS book (2nd ed.) , 1997 .

[5]  Radomír Mech,et al.  L-studio/cpfg: A Software System for Modeling Plants , 1999, AGTIVE.

[6]  G. Seufert,et al.  Building a topological and geometrical model of poplar tree using portable on-ground scanning LIDAR. , 2008, Functional plant biology : FPB.

[7]  John K. Ousterhout,et al.  Scripting: Higher-Level Programming for the 21st Century , 1998, Computer.

[8]  Jules Bloomenthal,et al.  Modeling the mighty maple , 1985, SIGGRAPH.

[9]  Przemyslaw Prusinkiewicz,et al.  Solving Differential Equations in Developmental Models of Multicellular Structures Expressed Using L-systems , 2004, International Conference on Computational Science.

[10]  Christophe Godin,et al.  Multiscale Framework for Modeling and Analyzing Light Interception by Trees , 2008, Multiscale Model. Simul..

[11]  Les A. Piegl,et al.  The NURBS Book , 1995, Monographs in Visual Communication.

[12]  Przemyslaw Prusinkiewicz,et al.  A Look at the Visual Modeling of Plants Using L-Systems , 1996, German Conference on Bioinformatics - Selected Papers.

[13]  Lutz Prechelt,et al.  An Empirical Comparison of Seven Programming Languages , 2000, Computer.

[14]  Christophe Godin,et al.  Functional-structural plant modelling. , 2005, The New phytologist.

[15]  A. Bell,et al.  Plant Form: An Illustrated Guide to Flowering Plant Morphology , 1991 .

[16]  Brendan Lane,et al.  The use of positional information in the modeling of plants , 2001, SIGGRAPH.

[17]  Przemyslaw Prusinkiewicz,et al.  Virtual laboratory: an interactive software environment for computer graphics , 1999, 1999 Proceedings Computer Graphics International.

[18]  Przemyslaw Prusinkiewicz,et al.  Modeling of spatial structure and development of plants: a review , 1998 .

[19]  D. Barthélémy,et al.  Plant architecture: a dynamic, multilevel and comprehensive approach to plant form, structure and ontogeny. , 2007, Annals of botany.

[20]  Przemyslaw Prusinkiewicz,et al.  Parametric l-systems and their application to the modelling and visualization of plants , 1992 .

[21]  Godin,et al.  A multiscale model of plant topological structures , 1998, Journal of theoretical biology.

[22]  Christophe Godin,et al.  Exploring plant topological structure with the AMAPmod software: an outline. , 1997 .

[23]  林俊彦 用Visual Studio实践敏捷测试(一) , 2010 .

[24]  A. Cescatti Modelling the radiative transfer in discontinuous canopies of asymmetric crowns. I. Model structure and algorithms , 1997 .

[25]  Yang Liu,et al.  Computation of Rotation Minimizing Frame , 2007 .

[26]  Jim Hanan,et al.  Foreword: Studying plants with functional-structural models. , 2008, Functional plant biology : FPB.

[27]  Radomír Mech,et al.  An L-System-Based Plant Modeling Language , 1999, AGTIVE.

[28]  Przemyslaw Prusinkiewicz,et al.  The concept and design of a virtual laboratory , 1990 .

[29]  Przemyslaw Prusinkiewicz,et al.  Design and Implementation of the L+C Modeling Language , 2003, RULE@RDP.

[30]  E. Costes,et al.  Plant Architecture Modelling: Virtual Plants and Complex Systems , 2005 .

[31]  Christophe Godin,et al.  A Method for Describing Plant Architecture which Integrates Topology and Geometry , 1999 .

[32]  P. Prusinkiewicz,et al.  ART AND SCIENCE OF LIFE: DESIGNING AND GROWING VIRTUAL PLANTS WITH L-SYSTEMS , 2004 .

[33]  Mark James,et al.  Synthetic topiary , 1994, SIGGRAPH.

[34]  Christophe Godin,et al.  AMAPmod v1.8. Introduction and reference manual , 1997 .

[35]  C. Fournier,et al.  OpenAlea: a visual programming and component-based software platform for plant modelling. , 2008, Functional plant biology : FPB.

[36]  Przemyslaw Prusinkiewicz,et al.  The Algorithmic Beauty of Plants , 1990, The Virtual Laboratory.

[37]  Przemyslaw Prusinkiewicz,et al.  Development models of herbaceous plants for computer imagery purposes , 1988, SIGGRAPH.

[38]  Winfried Kurth,et al.  The Modelling Platform GroIMP and the Programming Language XL , 2007, AGTIVE.

[39]  H. Sinoquet,et al.  Assessment of the three-dimensional architecture of walnut trees using digitising , 1997 .

[40]  Laurence Tratt,et al.  Dynamically Typed Languages , 2009, Adv. Comput..

[41]  Grzegorz Rozenberg,et al.  Developmental systems and languages , 1972, STOC.

[42]  Przemyslaw Prusinkiewicz,et al.  MAppleT: simulation of apple tree development using mixed stochastic and biomechanical models. , 2008, Functional plant biology : FPB.

[43]  J. Bloomenthal Calculation of reference frames along a space curve , 1990 .

[44]  Przemyslaw Prusinkiewicz,et al.  Towards aspect-oriented functional--structural plant modelling. , 2011, Annals of botany.

[45]  Daniel Cohen-Or,et al.  Texture-lobes for tree modelling , 2011, ACM Trans. Graph..

[46]  Przemyslaw Prusinkiewicz,et al.  Graphical applications of L-systems , 1986 .