January 2020
Intermediate to advanced
532 pages
13h 31m
English
To develop the LModel object, perform the following steps:
struct LModel axiom rulesend
"Create a L-system model."LModel(axiom) = LModel([axiom], Dict())
"Add rule to a model."function add_rule!(model::LModel, left::T, right::T) where {T <: AbstractString} model.rules[left] = split(right, "") return nothing ...Read now
Unlock full access