Pearls is a generative minimal artwork made with 100% code in p5js.
This algorithm places perfectly round pearls into multiple stacked grids and connects them in a pleasing way. The small grids lead to interesting emerging patterns. Some see faces and fish, others see ancient hardware and elephants, and some just enjoy the minimal simplicity.
-- controls (in live view) s: to save the current image a: to play a small animation
-- some attributes layout: 2x2 to 34x34 palette: genuary, monochrome red & purple, night mode: ink, walk bias: central, north, east, south, west density: sparse, middle, dense symmetry: none, vertical, horizontal, point layer: 2 to 6