Alexis Mabanza @ alexvolkihar.ovh

Aftershock

A patterned surface after a main shock and its aftershocks

Each piece starts as a calm surface: a field of fine patterns computed pixel by pixel. Ruled lines and waves are the level lines of a slowly bent coordinate, chevrons follow a zigzag, contours trace a noise relief, rings spread from a few centres, dots sit on a hexagonal lattice, and a patchwork splits the plate into cells that each carry their own pattern. Every pattern is written as a distance to the ink, so the lines keep an even weight, and a slow noise makes that weight swell and thin across the plate. Then a main shock strikes, followed by smaller aftershocks. Each one is a shape (a circle, a box, a triangle, a spike or a band across the plate) with an effect on whatever lies inside it: the surface is cut along cracks that open on the bare ground, and the strips slide, tilt and change scale and shade, or it is averaged into coarse blocks and dithered into dots or stripes, seen through a lens, swirled or turned like a plug, worn away by a fine grain, or inverted, sometimes onto a coloured ground. The shocks are replayed in order, so a later one acts on what the earlier ones left: a crack can itself be pixelated, and an inverted shape can be swirled. The plate sits in a paper margin. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0xa81eb010…380a
Palette SootSurface ContoursShock InvertedAftershocks SeveralGrain Medium
0xdb97f949…711e
Palette SootSurface DotsShock ErodedAftershocks SeveralGrain Fine
0xa7a44b8f…7f95
Palette SlateSurface ChevronShock WarpedAftershocks SwarmGrain Medium
0xc1f72ff2…36d6
Palette SootSurface RuledShock MixedAftershocks FewGrain Coarse
0x35fa7656…79da
Palette MossSurface WavesShock PixelatedAftershocks FewGrain Medium
0x568dbd74…e4b0
Palette MossSurface ContoursShock ErodedAftershocks SeveralGrain Coarse
0x09ac4c14…e81d
Palette CobaltSurface RuledShock FaultedAftershocks SwarmGrain Fine
0xacb6ce9e…2e79
Palette ChalkSurface WavesShock WarpedAftershocks SeveralGrain Coarse
0x6aa85187…bcaa
Palette SlateSurface PatchworkShock PixelatedAftershocks SwarmGrain Coarse
0x9d5047e8…6965
Palette SlateSurface RingsShock InvertedAftershocks FewGrain Medium
0x45096c77…7ece
Palette SootSurface RingsShock MixedAftershocks SwarmGrain Medium
0xe1f51d2a…b5f5
Palette EmberSurface DotsShock InvertedAftershocks SeveralGrain Coarse

Traits

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

TraitValues (weight)
PaletteSoot 26 · Slate 18 · Ember 14 · Moss 12 · Cobalt 14 · Chalk 16
SurfaceRuled 22 · Waves 18 · Chevron 12 · Dots 16 · Contours 16 · Rings 10 · Patchwork 6
ShockFaulted 26 · Pixelated 18 · Warped 16 · Eroded 12 · Inverted 14 · Mixed 14
AftershocksFew 30 · Several 50 · Swarm 20
GrainFine 30 · Medium 45 · Coarse 25

Credits

  • Shapes and patterns: signed distance functions after Inigo Quilez’s articles "2D distance functions" (circle, box, equilateral and isosceles triangles) and "Distance estimation" (dividing a field by its gradient to keep the level lines evenly spaced).
  • Contours: value noise with analytic derivatives, after Inigo Quilez’s "Value noise derivatives", so the relief’s gradient comes with its value.
  • Patchwork: a Voronoi partition, with the exact distance to the edge between the two nearest sites to leave a bare gap between cells.
  • Pixelation: each block’s average tone is set to ground or ink by an ordered dither, either Bryce Bayer’s 4 × 4 matrix ("An optimum method for two-level rendition of continuous-tone pictures", 1973) or a line screen.
  • Shocks: each pixel is mapped back through the shocks in reverse order (a slide, a turn, a change of scale and a shade per strip for a fault, a 4 × 4 average per block for a pixelation, a radial lens, a swirl or a rigid turn for a warp), then eroded with a two-scale noise threshold or inverted along the ground-to-ink axis. The implementation is original.
  • Inspired by Camille Roux’s Résilience (2024).
  • 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).


>