Skip to content

A repository of generative artworks created with R

Notifications You must be signed in to change notification settings

RogertG/generativer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generative

A repository of generative visualisations created with R.

Installation

devtools::install_github("marcusvolz/generative")
library(generative)

Procedural ring

Refer to the following Gist.

Interpolate squares

Refer to the following Gist.

# Load packages
library(generative)
library(ggplot2)

# Generate data
df <- interpolate_squares(seed = 1, n = 25, ease_function = "")

# Create plot
p <- ggplot() +
  geom_segment(aes(x, y, xend = xend, yend = yend), df, alpha = 0.03,
               size = 0.15, lineend = "round") +
  facet_wrap(~id, scales = "free") +
  theme_blankcanvas(margin_cm = 2.5)

# Save plot
ggsave("interpolate_squares.png", p, width = 20 , height = 20, units = "cm")

About

A repository of generative artworks created with R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%