Skip to content

Instantly share code, notes, and snippets.

@djnavarro
Created December 1, 2019 00:03
Show Gist options
  • Save djnavarro/38cb95efa64e969fd0cefe6ec3060d8a to your computer and use it in GitHub Desktop.
Save djnavarro/38cb95efa64e969fd0cefe6ec3060d8a to your computer and use it in GitHub Desktop.
fifty shades of pink
#install.packages("remotes")
#remotes::install_github("djnavarro/jasmines")
#remotes::install_github("djnavarro/fifty")
library(jasmines)
library(dplyr)
set.seed(125)
seed_heart(10000) %>%
mutate(
x = x * 35,
y = y * 35
) %>%
time_tempest(
iterations = 150,
scale = .1,
curl_seed = 125
) %>%
mutate(order = time) %>%
style_ribbon(
alpha_init = .1,
alpha_decay = .02,
seed_fill = "#000000cc",
size = 1,
palette = fifty::shades("pink")
) %>%
export_image("~/Desktop/molten_heart4.png")
@djnavarro
Copy link
Author

molten_heart4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment