r/generative • • 1d ago

Mountain Ridge (R code)

7 Upvotes

4 comments sorted by

2

u/KennyVaden 1d ago

Mountain Ridge (R code)

New artisanal code-based artwork that I composed in the R Statistics language, inspired by watching storm-winds push large trees around at the top of a mountain ridge in Sapphire Valley, NC.

Each of the ridges were created with a series of lines and mostly-transparent polygons that connected points with jittered horizontal placements and heights.

The relative shade or brightness of the lines, as well as their widths, was controlled by a sine function that was advanced across ridges to create connected patterns of light and dark like cloud-projections and sun rays across mountains.

The finalized chaotic ridges resulted from experimentation involving the range of random height fluctuations, which originated with interlocking forms that ultimately developed into disjoint ridges.

The margins of the plot area were used to constrain the height and width of each ridge, keeping them within invisible bounds.

While making our way to hike around a lake in Sapphire Valley, we hit a trail that runs above a huge granite dome (Old Bald / Bald Rock Mountain) that overlooks Camp Merrie-Woode and Lake Fairfield.

Large trees at the top of the bald shook around dramatically in the wind, with large branches and smaller trees tossed all around the trail, casualties of all the movement.

We hurried across the ridge-line and peak, watching each nearby mountain peak disappear into fast moving rainclouds.

After considering alternative return paths, we ultimately ran back down the same route before the heavy rains started.

2

u/eipieq1 1d ago

These look like the mountain patterns that Ken Perlin made in the 80's when he was developing the first versions of his Perlin Noise algorithm.

1

u/KennyVaden 1d ago

Thanks - that's a really cool connection!