444(4)
shvembldr · 2021 · Playground
**Attention! Extremely Experimental Project!** This project is the quintessential generative art. Each instance of this project is an infinite deterministic ratio and resolution agnostic art generator. _Every click = new art_. The main format is a 3x4 poster. But by pressing "f," you can stretch the art to the whole screen (any screen). All elements of this art are rectangles, and the main number of this project is 4. You can use the generated images commercially (read the license). **Controls:** - "f" = fullscreen - "s" = save art - "t" = 30-sec interval infinite slideshow - "u" = 3-sec interval slideshow + save (а convenient way to make images for the gallery) - "1 - 9" = change pixel density. (Changing the ratio and pixel density resets the art counter to 0).
How it works
The core is recursive division and a fragment shader. It recursively cuts a single rectangle by bisection (the N / B / P functions) into countless small rectangular regions. Each region is filled with a line pattern computed by parametric formulas (the ce / de arrays) and an easing function (be), and coloured according to the palette. Finally it passes the whole through a fragment shader (e / t), adding a noise grain texture to finish. As a resolution-independent generator in which every element is made of rectangles, it draws a new piece on each click from the combination of division structure, line pattern and noise.
Palette
#000000#888888#ffffff#f6511d#0d2c54#ffb400#00a6ed#e22b00#2bb59c#010417#f7dc09#0029c1#f1d302#235789#ed1c24#020100#032b43#3f88c5#ffba08#d00000#457b9d#f1faee#a8dadc#1d3557#e63946#a72608#e6eed6#dde2c6#090c02#bbc5aa#ff8c01#0d0b0b +159 more #131418#384653#c4513a#e8af69#1d17c4#cacad5#9b887f#6d796f Algorithms
- Fragment Shader (GLSL) primary · classification: rule-based
Details
View generator ↗ · Art Blocks ↗
Sources
- On-chain artblocks.io ↗
Related works (by shared algorithms)
Last updated 2026-07-16