I have another generative piece up on fxhash! “Grim Haystack” is a p5.js sketch I’ve been working on for the last few days. I wanted to play more with using another underlying image to affect the placement of isometric forms.
I started out playing with generating gradients at first at the base image. I started with pictures like these using a five-color pallet and “lerping” between colors, creating this stair-stepped look.
After building that base image, I loaded the current pixels and grabbed every x number of pixels to use to place the isometric forms. The size of the forms is related to the lightness of the pixel chosen.
To make sure that each image ties to a hash on fxhash and always returns the same result, I had to utilize the createGraphics()
function in p5.js to create a consistent area to work with and then shrunk down to the finalize with image()
function.
I realize this is a bit like r/restofthefuckingowl, so please feel free to ask if you have any questions.