Cargando…

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...

Descripción completa

Detalles Bibliográficos
Autores principales: Boudon, Frédéric, Pradal, Christophe, Cokelaer, Thomas, Prusinkiewicz, Przemyslaw, Godin, Christophe
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Frontiers Research Foundation 2012
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3362793/
https://www.ncbi.nlm.nih.gov/pubmed/22670147
http://dx.doi.org/10.3389/fpls.2012.00076
_version_ 1782234260582694912
author Boudon, Frédéric
Pradal, Christophe
Cokelaer, Thomas
Prusinkiewicz, Przemyslaw
Godin, Christophe
author_facet Boudon, Frédéric
Pradal, Christophe
Cokelaer, Thomas
Prusinkiewicz, Przemyslaw
Godin, Christophe
author_sort Boudon, Frédéric
collection PubMed
description 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.
format Online
Article
Text
id pubmed-3362793
institution National Center for Biotechnology Information
language English
publishDate 2012
publisher Frontiers Research Foundation
record_format MEDLINE/PubMed
spelling pubmed-33627932012-06-05 L-Py: An L-System Simulation Framework for Modeling Plant Architecture Development Based on a Dynamic Language Boudon, Frédéric Pradal, Christophe Cokelaer, Thomas Prusinkiewicz, Przemyslaw Godin, Christophe Front Plant Sci Plant Science 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. Frontiers Research Foundation 2012-05-30 /pmc/articles/PMC3362793/ /pubmed/22670147 http://dx.doi.org/10.3389/fpls.2012.00076 Text en Copyright © 2012 Boudon, Pradal, Cokelaer, Prusinkiewicz and Godin. http://www.frontiersin.org/licenseagreement This is an open-access article distributed under the terms of the Creative Commons Attribution Non Commercial License, which permits non-commercial use, distribution, and reproduction in other forums, provided the original authors and source are credited.
spellingShingle Plant Science
Boudon, Frédéric
Pradal, Christophe
Cokelaer, Thomas
Prusinkiewicz, Przemyslaw
Godin, Christophe
L-Py: An L-System Simulation Framework for Modeling Plant Architecture Development Based on a Dynamic Language
title L-Py: An L-System Simulation Framework for Modeling Plant Architecture Development Based on a Dynamic Language
title_full L-Py: An L-System Simulation Framework for Modeling Plant Architecture Development Based on a Dynamic Language
title_fullStr L-Py: An L-System Simulation Framework for Modeling Plant Architecture Development Based on a Dynamic Language
title_full_unstemmed L-Py: An L-System Simulation Framework for Modeling Plant Architecture Development Based on a Dynamic Language
title_short L-Py: An L-System Simulation Framework for Modeling Plant Architecture Development Based on a Dynamic Language
title_sort l-py: an l-system simulation framework for modeling plant architecture development based on a dynamic language
topic Plant Science
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3362793/
https://www.ncbi.nlm.nih.gov/pubmed/22670147
http://dx.doi.org/10.3389/fpls.2012.00076
work_keys_str_mv AT boudonfrederic lpyanlsystemsimulationframeworkformodelingplantarchitecturedevelopmentbasedonadynamiclanguage
AT pradalchristophe lpyanlsystemsimulationframeworkformodelingplantarchitecturedevelopmentbasedonadynamiclanguage
AT cokelaerthomas lpyanlsystemsimulationframeworkformodelingplantarchitecturedevelopmentbasedonadynamiclanguage
AT prusinkiewiczprzemyslaw lpyanlsystemsimulationframeworkformodelingplantarchitecturedevelopmentbasedonadynamiclanguage
AT godinchristophe lpyanlsystemsimulationframeworkformodelingplantarchitecturedevelopmentbasedonadynamiclanguage