Skip to content

Instantly share code, notes, and snippets.

@jokergoo
Created July 4, 2021 11:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jokergoo/4227897d3874f28c09d5addca1d6d4ba to your computer and use it in GitHub Desktop.
Save jokergoo/4227897d3874f28c09d5addca1d6d4ba to your computer and use it in GitHub Desktop.
load(system.file("extdata", "doodle.RData", package = "circlize"))
img = do.call(cbind, lapply(img_list, function(x) as.matrix(as.raster(x)[1:106, 1:150])))
img = as.raster(img)
library(spiralize)
spiral_initialize(scale = "curve", start = 180, end = 360*3)
spiral_track(background = FALSE)
spiral_raster(0.5, 0.5, img, facing = "curved_inside")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment