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_1A_thumb

Figure 1B:

Figure_1B_thumb

Figure 2A:

Figure_2A_thumb

Figure 2B:

Figure_2B_thumb

3 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!

    Reply
  3. Paige

    I am have been attempting to tweak this script to ready a previously created data set. I have exported a csv to ppp but cannot set my pattern right. Can you help?

    Basically, I need to generate a pattern from a ppp file or csv file.

    Reply

Leave a Reply

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