Skip to content

schochastics/codeart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeart

Lifecycle: experimental

This package is inspired by the generative art of Eric Davidson

Installation

You can install the released version of codeart from GitHub with:

remotes::install_github("schochastics/codeart")

Examples

The code below shows how to transform an existing R script into “abstract art”.

library(codeart)
library(showtext)

font_add_google("Niconne", "niconne")
showtext_auto()

dat <- codeart_script("R/codeart_script.R")
plot_codeart_script(dat,font = "niconne",title = "codeart_script.R",caption = "@schochastics")

You can also generate random art with the package.

library(codeart)
dat <- codeart_random()
plot_codeart_rand(dat)

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages