fractal_tree: Grow a tree

Description Usage Arguments Value

View source: R/grow.R

Description

Grow a tree

Usage

1
fractal_tree(leaf, depth, growth_fraction)

Arguments

leaf

leaf shape, a matrix with 4 columns for x, y, xend, yend

depth

Integer that specifies the depth (height) of the tree, i.e. the number of loops

growth_fraction

How much to grow each leaf

Value

foo


andrie/fractaltree documentation built on April 27, 2021, 3:51 p.m.