“Rolling Hills at Sundown” is a project inspired by a road trip to the Southwest United States my family made this summer. We made stops at around 15 national parks, each with different rock formations, from the peaks of the Rocky Mountains to the depths of the Grand Canyon. The last park we stopped at was White Sands National Park in New Mexico. The rolling dunes seemed to go on forever, and the sand was so fine that you could slide down the dunes like snow.
There is an underlying grid that helps with the placement of elements. In the mint, there is a feature called “Density” that determines the placement and intensity of the peaks. I use masks pretty heavily in this project, using the peak of the hills to clip each range’s gradient or solid fill.
// Content that will be masked let gg = createGraphics(100, 100); // Mask for the content let cm = createGraphics(100, 100); // Any white pixels in the mask will be // used to show the masked content cm.fill(255); cm.ellipse(50, 50, 25, 25); // now mask the content let masked (masked = gg.get()).mask(cm) // Now the masked content can be applied to the main canvas image(masked, 0, 0, 100, 100);
Check out the project on fxhash!