SL/CE

Stranger in the Q · 2023 · Presents

A hard-edged geometric arrangement on a deep crimson ground. A grey horizontal bar holds a concentric orange-and-white disc at centre; a large amber rectangle sits below, with a smaller amber square upper right. Two thin vertical lines—one white, one grey—and a striped multicoloured needle pierce upward. A short grey bar and small white square float lower right. Bauhaus-like, balanced, bold.
Stranger in the Q · via Art Blocks ↗ · © the artist
Sample output of SL/CE
Stranger in the Q · via Art Blocks ↗ · © the artist
Sample output of SL/CE
Stranger in the Q · via Art Blocks ↗ · © the artist
Sample output of SL/CE
Stranger in the Q · via Art Blocks ↗ · © the artist

## SL/CE (slice) This artwork explores Suprematism and generative composition, attempts to fill some gap between generated and constructed artworks. It achieves composition by slicing simple shapes into pieces by some rules and testing them against a "bad composition detector", then carefully selecting colors for shapes. ### Algorithm Each iteration starts with selecting the simplest figure (circle, square, rectangles, trapezoid), then shape is placed on the canvas according to specific rules, cut along one or more "slice lines", after which the parts can be shifted, rotated or removed. The process is repeated several times for several starting figures, after which the resulting composition is obtained. Then an "Bad composition detector" function comes into play, and if the composition is considered "bad", the pseudo-random composition process is repeated with partially different inputs until a "good composition" is obtained, according to this evaluation function. ### Bad composition detector Function that takes into account and evaluates the size of the figures individually, the total area occupied by the figures, distribution of the figures on the canvas, the balance of emptiness and fullness. All of these parameters are used to find those outcomes that seem to me to work poorly. It turns out there is a piece of me in this code. ### Result Looking at images, you can often see something in them, this effect is close to pareidolia, sometimes images works well as profiles pictures, and I am very pleased that I was able to achieve this. ### Extra Each token is a unique generator with partially fixed parameters. Click or tap at the bottom half of image to generate a new image. Click or tap at the top half of image to toggle slideshow.

How it works

The core is a mosaic that cuts shapes apart and arranges them. Starting from the simplest forms such as circles and triangles, it cuts polygons one after another with straight lines, sorts the fragments by area and rearranges them. It assembles a Suprematist sense of composition in the space between generation and construction. Further, it passes them through a 'bad-composition detector,' rejecting arrangements where elements are too biased or too sparse and keeping only good compositions. It carefully assigns colour to the remaining fragments, producing, at every point, a tense geometric composition out of the division and selection of simple shapes.

Palette

From the generator script · 2
#ffffff#020305
Extracted from outputs · 8
#f1a92f#a5191e#f4eee6#584b51#b95c46#091713#dac3b7#275e98

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 (2023-02) → art-blocks
Script hash
0cfd74ae77e7b5d3f7c96008e33c40f80fdf6f2e463af79e909cf80fd86d8c28
On-chain
ethereum · 0x99a9b7c1116f9ceeb1652de04d5969cce509b069 · #419

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Corners
rafael-rozendaal · 2022
Situations
erik-swahn · 2026
Sheets
rudxane · 2024
Hachure
matt-deslauriers · 2023
Scatter Process[or]
kelly-milligan · 2023
Implications
ixnayokay · 2022
Squares
martin-grasser · 2022
Structures
hevey · 2022

Last updated 2026-07-16