Reproducible art with R

By | July 27, 2016

This is my tribute to the fantastic R package spatstat. All the artwork was 100% done in R, the source code is here. Click the images for hi-res (6000 x 4000) versions.

License: This is a public domain work. Feel free to do absolutely whatever you want with the code or the images, there are no restrictions on the use.

Figure 1A:


Figure 1B:


Figure 2A:


Figure 2B:


2 thoughts on “Reproducible art with R

  1. Pingback: Reproducible art with R – Mubashir Qasim

  2. perfectlyGoodInk

    Wow, this is really cool. I especially like that third one.

    Thank you for sharing the code. I did have to tweak it to get it to reproduce figure 2A on my machine/version. I was getting the warning:

    1: In plot.window(...) : "box" is not a graphical parameter.

    I just removed the "box=FALSE" from the first plot statement, and then it worked fine. I haven't yet figured out how to use github, so am writing this comment instead.

    I'm running R 3.2.1 ("World-Famous Astronaut" -- the latest version I can run on Snow Leopard) and spatstat 1.41-1 ("Ides of March").

    Thank you again. I'm having a blast just playing around with the seed!


Leave a Reply

Your email address will not be published. Required fields are marked *