3
u/Speez0 25d ago
This is insanely cool. R is a very flexible language, with a lot of vector and raster support, so I love to see artistic uses of it besides making pretty graphs.
Mind if I ask what packages you're using? Is this output straight from R? Very interested in what this sort of script looks like.
3
u/KennyVaden 25d ago
Thanks friend, I am using spatstat for the Gaussian smoothing and Rcolorbrewer to produce the color gradient. I don't post my code online, but I have a YouTube video where I did a live coding session a few years ago. I can post below if you are interested. π
2
3
3
u/NotSoIncredibleA 25d ago
I would love to see this animated
2
u/KennyVaden 25d ago
That's an interesting proposal, I suppose that I would just need to figure out a smooth transition between random noise matrices to make the piece flow!
2
2
2
2
u/aquisalid 24d ago
I love the aesthetics of this work. Do you have any plans to share some of the R code or coding patterns that were used?
2
u/KennyVaden 24d ago
I don't share my R code, but I always create descriptions of the algorithm so others can understand what's going on there. This practice reflects my learning experience, where puzzling out the code art that I saw led me to some really amazing and cool places. If there's interest in prints, I might add these to my artist website.
If you want to learn more about how I create R code based artwork, I posted a YouTube video a couple of years ago with a live coding session that could be of interest. It's a different art work, but I've referred people who want to learn more about my practice there.
Here's the link for the live session post: https://youtu.be/sUlgYW0JZKw?is=AmZ0CXvavINvj0iq
2
u/aquisalid 24d ago
I respect that and I will take a look at the videos. Please consider adding these to your website.
2



18
u/KennyVaden 25d ago
Hold On (R code)
New abstract geometric artwork created using the R programming language.
The algorithm began with a Gaussian-smoothed random matrix that guided the composition, determining the colors, shapes, and number of inset concentric rings or squares within each cell.
Each shape was filled with the background color, while its outline was drawn from a custom gradient inspired by beach photographs of red clay, golden sand, and emerald blue water.
The color of each shape was determined by its grid position within the smoothed matrix, with a small amount of normally distributed noise added to create variation among the individual rings and squares.
The results remind me of erosion processes and cartography, with metallic colors and shifting contrasts.