Cushions

Devi Parikh · 2021 · Factory

A bold woven-cloth pattern in tan, cream and black, built from interlocking diagonal bands and zigzag bars outlined in white. Dark stripes carry a fine squiggling thread-like texture against smooth earth-toned blocks. Geometric, tactile and rhythmic, it evokes hand-loomed kente or mudcloth in warm desert hues.
Devi Parikh · via Art Blocks ↗ · © the artist
Sample output of Cushions
Devi Parikh · via Art Blocks ↗ · © the artist
Sample output of Cushions
Devi Parikh · via Art Blocks ↗ · © the artist
Sample output of Cushions
Devi Parikh · via Art Blocks ↗ · © the artist

Cushions brings together image processing and generative art techniques. The latter provides the geometric structure, and the former creates the organic shapes. Every single pixel and its connectedness to other pixels are explicitly considered. Inspiration for the palettes ranges from digital illustrations and pastels to a nod to renowned artists and different ethnicities. The organic shapes and the textures within symbolize the beauty in our individual oddities. Some pieces evoke the semblance of fantastical dreams in starry nights. Some of the comfort and familiarity of home. Some of nostalgia and long-lost friends. Some of reasonable and grounded perspectives. Some of sparks, some of style, some of strength, and some of passion. Some of candy. Some of pop art. Some of modern interior design. And some of traditional Indian cushions, known as Takiya.

How it works

The core is Truchet tiles and the painting of regions. To each cell of a grid it places one of two orientations of tile drawn with a quadratic curve (spline), and joins the curves together. This becomes a geometric skeleton, producing outlines like smoothly undulating cushions. An idea from image processing is then combined in. With connected-component labelling (flood fill), it identifies each organic region enclosed by the curves and paints them with palette colours. Because it explicitly handles every pixel and its connectivity, a mosaic of differing colour arises at every point, where the order of geometry and the organicity of the fill coexist.

Palette

From the generator script · 207
#ffd4b5#aa9cff#d1ffcf#32bfd1#ff67e7#fff338#9a5aff#0cecdd#ffbcbc#f38ba0#edf6e5#b5eaea#f9f9f9#f7dbf0#beaee2#cdf0ea#ffc074#faf1e6#b6c867#01937c#bb371a#eba83a#fff8d9#d5dbb3#ffcead#fff5ab#c449c2#867ae9#ffaaa7#ffd3b4#d5ecc2#98ddca +175 more
Extracted from outputs · 8
#d1791c#c48ec2#8c6d5b#24212d#66569f#a58f1f#d80a6f#0733a1

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-12) → art-blocks
Script hash
05132785b8defb374e43d6384d27ff2d4e1d329ba3b37c2b9369d29c0f43fc67
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #231

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Hachure
matt-deslauriers · 2023
Situations
erik-swahn · 2026
Diggly Collects All
dca · 2025
nullMachines
kerim-safa-loackme · 2024
Blooms
cory-haber · 2024
Cytographia
golan-levin · 2024
Twist
rafael-rozendaal · 2024
What can be
addie-wagenknecht · 2024

Last updated 2026-07-16