Package: ggbenjamini 0.0.1
ggbenjamini: Generate ficus benjamina leaf shapes with bezier curves
This package can be used to generate shapes in the form of ficus benjamina (weeping fig) leaves with bezier curves. The main output of the package are dataframes containing all the information of these bezier curves.
Authors:
ggbenjamini_0.0.1.tar.gz
ggbenjamini_0.0.1.zip(r-4.5)ggbenjamini_0.0.1.zip(r-4.4)ggbenjamini_0.0.1.zip(r-4.3)
ggbenjamini_0.0.1.tgz(r-4.4-any)ggbenjamini_0.0.1.tgz(r-4.3-any)
ggbenjamini_0.0.1.tar.gz(r-4.5-noble)ggbenjamini_0.0.1.tar.gz(r-4.4-noble)
ggbenjamini_0.0.1.tgz(r-4.4-emscripten)ggbenjamini_0.0.1.tgz(r-4.3-emscripten)
ggbenjamini.pdf |ggbenjamini.html✨
ggbenjamini/json (API)
# Install 'ggbenjamini' in R: |
install.packages('ggbenjamini', repos = c('https://urswilke.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/urswilke/ggbenjamini/issues
- df_bezier_skeleton - Example bezier dataframe to grow leaves on
Last updated 1 years agofrom:77bdbe1649. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 14 2024 |
R-4.5-win | NOTE | Nov 14 2024 |
R-4.5-linux | NOTE | Nov 14 2024 |
R-4.4-win | NOTE | Nov 14 2024 |
R-4.4-mac | NOTE | Nov 14 2024 |
R-4.3-win | NOTE | Nov 14 2024 |
R-4.3-mac | NOTE | Nov 14 2024 |
Exports:%>%benjamini_branchbenjamini_leafbezier_to_polygongen_benjamini_pointsgen_benjamini_slopesgen_leaf_parametersgen_middle_line_slopesget_one_bezierspark_normspark_weibull
Dependencies:clicolorspacecpp11dplyrfansifarvergenericsggforceggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepillarpkgconfigpolyclipprismaticpurrrR6RColorBrewerRcppRcppEigenrlangscalesstringistringrsystemfontstibbletidyrtidyselecttweenrutf8vctrsviridisLitewithr
Create a tree with benjamini leaves
Rendered fromcreate_benjamini_tree.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2021-12-05
Started: 2021-10-12
Create an svg file with benjamini leaves
Rendered fromcreate_benjamini_svg.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2021-12-07
Started: 2021-10-11
Create polygons from benjamini leaves
Rendered fromcreate_benjamini_polygons.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2021-11-08
Started: 2021-10-19
Import bezier pathes from svg files
Rendered fromimport_svg_bezier.Rmd
usingknitr::rmarkdown
on Nov 14 2024.Last update: 2023-03-06
Started: 2021-11-07
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Generate a branch of benjamini leaves | benjamini_branch |
Generate bezier curve coordinates of a benjamini leaf | benjamini_leaf |
Transform bezier dataframe to dataframe with path coordinates | bezier_to_polygon |
Example bezier dataframe to grow leaves on | df_bezier_skeleton |
Generate bezier end points | gen_benjamini_points |
Generate bezier slopes coordinates | gen_benjamini_slopes |
Generate bezier coordinates of a leaf | gen_leaf_parameters |
Generate bezier slopes of the line in the middle of the leaf | gen_middle_line_slopes |
Generate a dataframe of one bezier curve | get_one_bezier |
Manipulate the angles of the leaves with a normal distribution | spark_norm |
Manipulate the sizes of the leaves with a Weibull distribution | spark_weibull |