library(ggplot2)
library(ggpattern)

## pattern_density

Given the same locations for the pattern elements, changing the pattern_density changes how far the elements extend towards their neighbours. It is a fraction, and usually requires values in the range [0, 1]. Not settable in the “polygon_tiling” pattern.

## pattern_spacing

pattern_spacing determines how far away individual elements are from each other.