knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

spiro

CRAN status lifecycle Travis build status AppVeyor build status

The spiro package creates spirographs in the .svg file format. There are functions in spiro that transform and animate your spirographs after they have been created.

Installation

You can install spiro from github with:

# install.packages("remotes")
remotes::install_github("wjschne/spiro")

Example

Here is a basic spirograph.

library(spiro)
spiro(
  fixed_radius = 11, 
  cycling_radius = 4, 
  pen_radius = 9, 
  file = "example.svg") 

Please note that the spiro project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



wjschne/spiro documentation built on Dec. 16, 2020, 6:48 p.m.