Brendan Harmon

Random Paving

Generating random paving patterns in Grasshopper

Paving pattern from noise

Contents


Random Paving Patterns

Download the Grasshopper definition for this tutorial.

Readings

  • Patricio Gonzalez Vivo & Jen Lowe, 2015. Random, The Book of Shaders.
  • Patricio Gonzalez Vivo & Jen Lowe, 2015. Noise, The Book of Shaders.
  • Stefan Gustavson, 2005. Simplex Noise Demystified.

Regular Paving

Grasshopper program for regular paving

Regular paving pattern


Random Paving

Grasshopper program for random paving

Grasshopper program for baking to a new layer

Random paving pattern


Random Gradient of Paving

Grasshopper program for random gradient of paving

Paving pattern with random gradient


Paving from Noise

Noise is variation from an ideal signal. It is used in computer graphics to generate textures that appear pseudo-random, yet have a consistent scale of detail. Noise is often used to represent organic surfaces like topography, natural textures like marble, and natural phenomena like clouds. Perlin noise is created by interpolating between points in a grid with pseudo-random gradients. Use the Perlin or Simplex noise component from the 4D Noise addon to assign a color gradient to a grid of pavers. Create a rectangular grid, flatten the resulting tree of cells, and find the center of each cell with the polygon center component. Input the center of the cells as the values for Perlin Noise and then add time and scale parameters. Use remap numbers to rescale the noise values for a color gradient. Set the source domain to the bounds of the noise and set the target domain from 0 to 1. Alternatively, deconstruct the domain of the noise with deconstruct domain to set the lower and upper limits of the color gradient. Experiment with noise’s time and scale parameters to generate new patterns.

Grasshopper program for paving from noise

Paving pattern from noise


Hexagonal Paving from Noise

Generate a hexagonal paving pattern from noise by replacing the rectangular component with a hexagonal component. Use the center points of the hexagonal cells as the input values for the noise.

Grasshopper program for hexagonal paving from noise

Hexagonal paving pattern from noise


Pathway from Noise

Create a pathway from noise by using a culling pattern to hide pavers with a noise value greater than a given threshold. Filter the list of pavers with cull pattern and set the culling pattern to larger than a threshold. Adjust the parameters of the Perlin noise component to form a connected pathway.

Grasshopper program for pathway from noise

Pathway from noise