SL/CE
Stranger in the Q · 2023 · Presents
## 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
#ffffff#020305 #f1a92f#a5191e#f4eee6#584b51#b95c46#091713#dac3b7#275e98 Algorithms
- Polygon Mosaic primary · classification: LLM
- Fractal / Recursive Subdivision · classification: LLM
Details
View generator ↗ · Art Blocks ↗
Sources
- On-chain artblocks.io ↗
Related works (by shared algorithms)
Last updated 2026-07-16