Attraction

Jos Vromans · 2021 · Factory

Concentric arcs sweep across a bright white field like ripples expanding from an unseen point, woven from countless fine threads of cobalt, teal, slate, and rust. The fibrous, scratchy linework suggests wind-combed grasses or magnetic field lines. Airy and luminous, the composition vibrates with delicate, restless energy.
Jos Vromans · via Art Blocks ↗ · © the artist
Sample output of Attraction
Jos Vromans · via Art Blocks ↗ · © the artist
Sample output of Attraction
Jos Vromans · via Art Blocks ↗ · © the artist
Sample output of Attraction
Jos Vromans · via Art Blocks ↗ · © the artist

"Attraction" is a system that draws single pixels, one by one, according to a set of rules inspired by the 'Chaos Game'. Additionally, trigonometric functions may be used to displace pixels, resulting in wave patterns. All unique properties of each artwork are defined by the token's hash. This hash will set all the parameters: the color palette, the positioning of objects and the rules by which pixels are drawn. By the nature of this system, several well known patterns from computing and math may appear in the artworks.

How it works

The core is the chaos game (the gradual movement of a point). A single point moves, each time, a fraction of the difference closer toward one of several target points placed on a polygonal ring (x += (target − x) / I). Repeating this 'approaching but never arriving' iteration tens of thousands of times and plotting a pixel one at a time, a self-similar map of attraction rises. Further, a displacement function by trigonometric functions warps the points' positions in waves, adding fluctuation to the regular attraction. The hash decides the palette, the targets' placement and the applied rules, producing a different image at every point where orderly attraction and undulating distortion contend.

Palette

From the generator script · 57
#000000#ffffff#222200#cc2211#ff8800#002266#888888#aa2222#333344#223333#777788#dddddd#bb1111#ff5511#253736#f29952#609c8b#f5dd91#f5e7cb#547d86#771111#344a82#9eebce#0d42d9#185aa9#1f1da8#786586#37ccb3#4bc497#9b5d31#2b70ab#d5cdbc +25 more
Extracted from outputs · 8
#caccd1#bbb2b1#e3e2e2#f1efef#ba9687#fefdfd#a37666#89909f

Algorithms

Details

Tools
Vanilla JavaScript
Runtimes
Browser (Canvas / 2D), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2021-12) → art-blocks
Script hash
4f164fb5120b2f37ee49ba0c8f1afac3658c8a0b50dca7babd6765c4d1c2097b
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #229

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Gravity 16
jimmy-herdberg · 2021
send/receive
snowfro · 2025
Blooms
cory-haber · 2024
Fantasía
alejandro-campos · 2024
Human Unreadable
operator · 2023
Axo
jiwa · 2023
Chain
leander-herzog · 2023
Drift
paolo-ceric · 2023

Last updated 2026-07-16