Ringers

Dmitri Cherniak · 2021 · Curated

On a pale grey ground, a four-by-four grid of circular pegs is laced by one continuous black string that wraps and angles from peg to peg. Some pegs are filled solid black, some are thin outlines, and a single one glows golden-yellow. Spare, geometric, Bauhaus-like calm with one warm accent.
Dmitri Cherniak · via Art Blocks ↗ · © the artist
Sample output of Ringers
Dmitri Cherniak · via Art Blocks ↗ · © the artist
Sample output of Ringers
Dmitri Cherniak · via Art Blocks ↗ · © the artist
Sample output of Ringers
Dmitri Cherniak · via Art Blocks ↗ · © the artist

There are an almost infinite number of ways to wrap a string around a set of pegs. On the surface it may seem like a simple concept but prepare to be surprised and delighted at the variety of combinations the algorithm can produce. Each output from 'Ringers' is derived from a unique transaction hash and generated in Javascript in the browser. Feature variations include peg count, sizing, layout, wrap orientation, and a few colorful flourishes for good measure.

How it works

The core is "tangent arcs (string-binding)". First circular pegs are arranged on the board, and a single cord is generated that connects them in one continuous stroke. When crossing to a neighbouring peg, a tangent common to the two circles is drawn (getTangents), and by alternately connecting the arc that runs along the peg's edge with the tangent, a curve arises as if the string wraps naturally around the peg. The order of connection and the manner of winding determine the appearance: the peg group is sorted by angle about the centroid to make a single circuit, and depending on whether each peg bites inward or juts outward (a concave/convex test) the string is switched between an inner and an outer path, so that the string embraces the pegs without slack and becomes a tense succession of arcs. Onto this ride variations of placement and decoration: the pegs can be chosen as a regular grid (pOnGrid) or as a placement that recursively subdivides regions to vary density, with the radius also changing with distance from the centre; furthermore a mode that draws concentric circles inside each peg, and the combination of fill, line and highlight colours, are decided by the hash, so the style ranges from minimal to highly dense.

Palette

From the generator script · 7
#4381c1#3b9764#f2c945#c3423f#f5f5f5#2b2b2b#f7f7e6
Extracted from outputs · 8
#2c2c2c#f7f7f7#a7a7a6#d0d0d0#878786#5e5b53#d6b340#f2c943

Algorithms

Details

Tools
p5.js
Runtimes
Browser (Canvas / 2D), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2021-01) → art-blocks
Script hash
3d4860a5816e718611bdbdf0b85e35eb6f6e40922bba5b314f5494c6f9f6362f
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #13

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Quine
larva-labs · 2025
Orbe
julien-gachadoat · 2024
Antichambre
anaglyphic · 2023
Escherly Seeds
martijn-cohen · 2023
marfaMESH
harvey-rayner · 2023
Agglo
leander-herzog · 2022
Exhibition: 3291
cryptobauhaus · 2022
Fontana
harvey-rayner · 2022

Last updated 2026-07-16