Alexis Mabanza @ alexvolkihar.ovh

Packing

Circles packed into a shape, each with its own motif

Circles are dropped one by one into a square, a disc or a cloud of overlapping discs. Each new circle grows until it touches a neighbour, and the size limit shrinks as the shape fills up, so a few large circles come first and smaller ones fill the gaps. Every circle then gets its own small motif: concentric rings, a single arc, a dot, radial spokes, a half moon or nested tangent circles. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0xfbda384a…155a
Palette MidnightDensity EvenMotif mix AssortedSize spread GiantsBoundary Circle
0x1e3db3e0…0949
Palette MidnightDensity PackedMotif mix LunarSize spread GradedBoundary Blob
0x7459b708…0883
Palette ChalkDensity EvenMotif mix LunarSize spread GradedBoundary Square
0x24230f57…546b
Palette ChalkDensity AiryMotif mix RadiantSize spread GradedBoundary Circle
0xcb399ca3…ca84
Palette ClayDensity EvenMotif mix LunarSize spread UniformBoundary Circle
0x1f17facc…8ac6
Palette PollenDensity AiryMotif mix RadiantSize spread GradedBoundary Square
0x892c4905…c47a
Palette PollenDensity PackedMotif mix AssortedSize spread GradedBoundary Circle
0x65dca1fb…0510
Palette ChalkDensity AiryMotif mix AssortedSize spread GradedBoundary Blob
0xc1c51fee…97d1
Palette LagoonDensity EvenMotif mix AssortedSize spread GradedBoundary Square
0x175aa84a…841e
Palette MidnightDensity AiryMotif mix RadiantSize spread GradedBoundary Square
0x077253a4…268d
Palette ClayDensity AiryMotif mix AssortedSize spread GiantsBoundary Square
0x0b8ddeed…5da3
Palette EmberDensity AiryMotif mix RadiantSize spread GradedBoundary Square

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
PaletteChalk 24 · Clay 20 · Lagoon 18 · Pollen 16 · Midnight 14 · Ember 8
DensityAiry 25 · Even 50 · Packed 25
Motif mixAssorted 40 · Concentric 20 · Lunar 20 · Radiant 20
Size spreadUniform 15 · Graded 55 · Giants 30
BoundarySquare 45 · Circle 35 · Blob 20

Credits

  • Circle packing by random sequential addition (the dart-throwing scheme behind Poisson-disc sampling), with a decaying radius cap and a uniform grid for the collision checks.
  • Randomness: sfc32 by Chris Doty-Humphrey. The hash seeding, named sub-streams and verification follow Camille Roux’s genart skill (MIT).
  • The palettes are original. The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>