Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generative artwork that looks a bit like trees

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
NotificationsYou must be signed in to change notification settings

djnavarro/flametree

Repository files navigation

R-CMD-checkLifecycle: experimentalCRAN statusCRAN RStudio mirror downloads

Flametree provides a system for making generative art in R, written withtwo goals in mind. First, and perhaps foremost, art is inherentlyenjoyable and generative artists working in R need packages no less thanany other R users. Second, the system is designed to be useful in theclassroom: getting students to make artwork in class is an enjoyableexercise and flametree can be used as a method to introduce some key Rconcepts in a fun way. You can install the current version of flametreewith:

install.packages("flametree")

Alternatively you can install the development version of flametree with:

# install.packages("devtools")devtools::install_github("djnavarro/flametree")

Flametree is fairly flexible and produces art in several differentstyles. One example is shown here, other possibilities are describedthroughout the documentation.

library(flametree)# pick some coloursshades<- c("#1b2e3c","#0c0c1e","#74112f","#f3e3e2")# data structure defining the treesdat<- flametree_grow(time=10,trees=10)# draw the plotdat %>%   flametree_plot(background="antiquewhite",palette=shades,style="nativeflora"  )

About

Generative artwork that looks a bit like trees

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp