AB5D

Squares

Martin Grasser · Project 330 · Factory

Art Blocks Factory (now Presents), project 330 · 196 outputs · minted 20 July 2022 · CC BY-NC-ND 4.0

Squares #36 by Martin Grasser, from the AB5D collection
Squares #36 by Martin Grasser. Copyright: CC BY-NC-ND 4.0. From the AB5D collection.

Official preview. Open interactive artwork

Squares #36: a stack of translucent red and orange stepped squares over a grainy field running from orange on the left to acid yellow-green on the right

Squares #36, Flowers palette, 19x19 grid, held by AB5D. Render: Art Blocks media proxy.

The work and its context

Squares is Art Blocks project 330 on the contract 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270. It was released in the Factory vertical. The index records 196 invocations against a maximum of 196, the script type js@na (plain JavaScript with no library), an aspect ratio of 1:1 and the licence CC BY-NC-ND 4.0 1. Art Blocks now lists it under Presents, with Factory as its heritage label 23.

The project text reads: "'Squares' utilizes the shape of a square as a unit of construction, combining and overlapping them at various scales". It ends with the line that has become its tagline: "something along the lines of Bauhaus meets Blade Runner" 14. Each output is a cluster of translucent, stepped rectangles floating over a soft field of blurred colour, all under a heavy film grain. The squares are laid over one another with blend modes, so the colour shifts, darkens or glows where they overlap 1.

Martin Grasser is a Bay Area artist and designer 56. He is best known outside art for the Twitter bird of 2012, which he designed with Todd Waterbury and Angy Che 78. Digiday describes him as the founder of the design firm Studio Mococo, with clients including PayPal, SoftBank, Bumble and Rdio 9. His typeface Color Dot Font was nominated in the Experimental category of the Tokyo Type Directors Club awards in 2021 610. Squares was his first generative release on Art Blocks. He later called it "my breakthrough moment in web3" 85.

Conception and development

Grasser says he began making art with code "around 2008", after he "was introduced to Processing" 11. His portfolio sets Squares beside older series that work the same way by hand or by machine: Xerography, Spray Paintings, Newspaper Forms, News Abstractions and the Color Dot Font 12. A UCLA lecture listing gives his own summary of the practice: "His work explores systems and forms of repetition" 1314.

Squares began as a physical collage. In a December 2022 interview he said: "In 2015/2016, I had one blurry photo of color, which I started putting rectangles over". The rectangles "were cut out of paper", and "it was some time before the project became purely digital" 11. As the code section below shows, that blurry photograph appears to survive inside the program itself.

The second source is type design. Grasser was "especially interested in how each letter of a monospace font must fill a fixed space". He wanted "a simple repeatable form that could modulate from extremely small sizes to the size of the entire canvas" 11. In 2024 he told Bright Moments that Squares is "essentially set up as a monospace typeface", built "on a grid and a fixed canvas" 15. He also described the method: black forms on white make "the stair-step shapes in Squares", and blending light and colour creates "intersections, overlaps, and moving color" 15.

Grasser uses "we" when he describes building the grid system 11. The project record thanks "Arsh and Audrey Chen", with further help from V.E. Chen, Laksh Arora and Vanna Vu 1. Arsh, Audrey Chen and Laksh Arora are also named as the team on his later Portraits project 5.

How the work was constructed

The program is two script parts that concatenate to 16,866 bytes, SHA-256 099489bfb58d7d345a2d91fd77c891184325d20559846cc41678ca1d763aeb1b. It was retrieved from the Art Blocks index and read in full. It is a minified build: its palettes, colours and layer recipes are stored as compressed strings that it unpacks at load. No code is reproduced here 1.

It seeds two small 128-bit generators from the two halves of the token hash, warms each up with 500,000 calls, and alternates between them 1. For this essay the compressed data was unpacked and the program's selection logic was replayed in Node.js for all 196 hashes. The replay reproduced the published Palette, Grid, Square, Layers, Flats, Shapes, Images and Effects of every token (own computation) 1.

The photograph. Every background comes from one embedded image: a 40 by 53 pixel PNG, tagged as saved by Adobe ImageReady, showing soft horizontal bands of green, grey-blue, red, cream and pink 1. The program stretches it to a 3,000 pixel square with smoothing on, then adds grain (see the quirks) (code reading). An "image" layer rotates this picture by 0, 90, 180 or 270 degrees, enlarges it between 1.2 and 5.3 times, and shifts it to a window set by the palette. At those zooms a few source pixels fill the canvas, which gives the blurred "fields of light" 1. That matches Grasser's account of starting from "one blurry photo of color" 11. Whether it is the same photograph is not confirmed.

Palettes. There are 23 palettes, each an ordered stack of layers. Each stack has one or two image layers, flat colour washes ("Flats"), stepped shapes ("Shapes") and tone-curve "Effects". Each layer is composited with its own blend mode and opacity 1. Soft-light accounts for 111 of the 207 layer definitions and overlay for 40. Screen, colour-burn, colour-dodge, lighten, multiply, hue, saturation and luminosity appear a few times each (own computation) 1. All 23 palettes have weight 1, so each has a 1 in 23 chance. The published counts run from 5 (Good Evening, King Yellow) to 15 (Folio) against an expectation of about 8.5 1.

The stepped squares. A shape layer draws a square of 1, 3, 4 or 5 cells (the Square trait) at the centre of a grid of 9 to 25 cells (the Grid trait). From each of its four corners it grows a staircase of random rises and spans, and it can notch the corners where two staircases meet 1. The shape is filled either "in" (a solid stepped block) or "out" (colour everywhere except the block, like a window). It is then shifted by up to two grid cells 1. Every shape layer builds a new staircase on the same grid, so the layers nest and slip against one another. This is the "stair-step" construction Grasser describes 15.

The grid rule is picked from those the palette allows, and the published Construction trait names that rule. The replay shows each Construction label maps to exactly one rule 1.

Construction (rule) Grid Square Count of 196
Twenty-two 21x21 3 30
Thirty-two 19x19 3 28
Eighteen 17x17 3 24
Ten 13x13 1 19
Thirty-four 19x19 4 18
Eight 13x13 3 15
Thirty 19x19 3 or 5 13
Thirty-six 25x25 3 or 5 11
Twenty-four 21x21 5 6
Twenty-six 23x23 3 6
Twelve 15x15 3 6
Fourteen 15x15 3 6
Two 9x9 3 4
Twenty-eight 23x23 4 4
Twenty 17x17 5 3
Sixteen 17x17 3 2
Four 11x11 3 1
(unused rule) 12x12 1 0

The two smallest grids, 9x9 and 11x11, are the only ones with no random shift, so their shapes always sit dead centre (code reading) 1. The work draws once and stays still. It has no interaction or animation. The canvas is always 3,000 pixels square, and a resize handler only changes its displayed size 1.

Quirks in the algorithm

A full read of the program, checked against all 196 token records and the Node.js replay, turned up the following. Where a point rests on the code alone, it is marked as a code reading.

  1. The grain is not on the chain. The composition is fully set by the hash, but the grain is not. It is made from a 6,000 by 6,000 field of browser Math.random noise, drawn as black at random opacity and laid over the photograph in soft-light. Every load therefore has a slightly different grain, and no two renders of a token match pixel for pixel (code reading) 1. The earlier AB5D essay also noted this 16. The noise buffer alone is 144 MB (code reading).
  2. A grid that never appeared. One of the 18 grid rules is a 12x12 grid with a single-cell square, the only even-sized grid. Only the Orchard palette can choose it, with a 1 in 6 chance. None of the nine Orchard outputs did, so no Squares uses it 1. On an even grid a one-cell centre square would sit on half-cell lines, off the grid everything else follows (code reading). The Construction labels run in even numbers from Two to Thirty-six, and "Six" is the only one missing. That suggests, but does not prove, that the unused rule was "Six".
  3. Reversed ranges. Three ranges are written high-to-low, and the integer helper then gives a narrower set of values. Wave's first image is meant to zoom from 3.0 to 3.5. It can only reach 3.1 to 3.4, and the 12 Wave outputs use exactly those values. The rule labelled Thirty was written with steps 0 to 3 cells long but produces only 1s and 2s. Fourteen always takes steps of 2, so its staircases are perfectly regular 1 (own computation).
  4. Traits that repeat the palette. Layers, Flats, Shapes, Images and Effects are fixed by the palette, so five of the eleven traits add no information once the palette is known 1. Flats 0 means Eleven Plus Eleven. Effects 3 and Layers 14 both mean LA Rain. Images 2 means one of five palettes: LA Rain, Umunhum, Yes, Wave or Orchard (42 outputs) 1. Construction in turn fixes Grid, and mostly fixes Square.
  5. Labels that describe only part of the work. On the 42 two-image outputs, Zoom reports only the larger of the two zooms, and the other goes unrecorded. On #7 the recorded 3 is the base image, and the second image at 2.4 is not listed. On #118 the recorded 3.7 is the second image, and the base image at 3.1 is not listed 1. Rotation reads "Multiple" whenever there are two images, even when both are vertical. On #118 both images are turned 90 degrees, and on #116 they are turned 90 and 270 1.
  6. A duplicated, solarising curve. Three tone curves are defined, but the first and third are byte-for-byte identical. That curve is not monotonic: it rises to about 219 and then folds the brightest values back down to about 85, a solarisation that darkens highlights. The second curve crushes the midtones 1. The first curve is used by 41 outputs. On the 23 Tennis and Flowers outputs, #36 among them, it has no blend mode, so their whole canvas is remapped through it (own computation).
  7. Dead switches and leftovers. A flag that would force the last step of a staircase to rise by one is always off. A second flag that picks rounding at the corners is always on. The shape routine applies a zero translation and a scale of one, and the noise generator keeps the stub of an inlined helper. The weighted palette draw is never weighted, because every weight is 1 (code reading) 1.
  8. Palettes are places in the photograph. Each image layer's shift is set by the palette, not left free. Folio, for example, always takes its window from one extreme edge of the stretched image, and Good Morning and Good Evening from near another. A palette is therefore partly a chosen region of the one photograph, then recoloured by its flats and blends (code reading) 1.

The most coveted variants

No source inspected names grails or records a trait-driven sale, so this section describes the rarest structures in the data rather than collector consensus. Grasser's own explanation of the work's appeal is modest: "even though they are simple, they have nuance and detail" 11.

The only 11x11 (Construction Four). #29 is the single output on the Four rule. It pairs a centred shape on the second-smallest grid with the two-image Umunhum palette and eight shape layers, the most any palette has 1.

Squares #29: pale blue and cyan stepped rectangles over a white and lavender field

Squares #29, the only 11x11 grid (Construction Four), Umunhum. Render: Art Blocks media proxy.

The 9x9 grids (Construction Two, 4 of 196). #13, #44, #74 and #127 have the coarsest grid, which gives the largest, blockiest steps 1.

LA Rain (9 of 196). LA Rain is the only palette with three Effects layers and 14 layers in all, the deepest stack in the set. It sets a black ground and two photograph layers under repeated contrast curves 1. #7 shows its bruised blues and pinks.

Squares #7: dense layered blue, violet and pink rectangles over a dark blue field with a pale horizontal band

Squares #7, LA Rain, 23x23 grid. Render: Art Blocks media proxy.

Eleven Plus Eleven (7 of 196). This is the only palette with no flat washes. The photograph and five shapes carry all the colour 1. #6 is a quiet example in orange with a pink bar.

Squares #6: pale orange and pink stepped bars over a hot orange field

Squares #6, Eleven Plus Eleven, the palette with no flats. Render: Art Blocks media proxy.

Mislabelled "Multiple". #118, a Wave output with both images vertical, is the clearest case of quirk 5 1.

Squares #118: a deep blue stepped block within violet rectangles over vertical bands of blue, pink and magenta

Squares #118, Wave: both images vertical, labelled "Multiple". Render: Art Blocks media proxy.

Notable collectors

Squares #0: translucent blue and green stepped rectangles over a blue-green field

Squares #0, Blue in Green, minted by the artist on 13 July 2022 and still in the artist's wallet. Render: Art Blocks media proxy.

Squares in physical form

No print programme, plotter edition or exhibition of Squares was found. Grasser's portfolio lists physical series (Spray Paintings, Newspaper Sculptures), but none for Squares 12. At Bright Moments Paris in 2024, "A Temporary Arrangement of Material" arranged spray-painted papers from 2010 to 2013 by a generative process 156. Portraits (with TRAME) is a set of mirrors whose words are "algorithmically translated into nestling rectangles of color" 5. Since Squares began as paper rectangles over a photograph, a physical edition would be a natural step, but none was found.

The mint

Invocation 0 was minted by the artist's address on 13 July 2022 at 08:12:41 UTC, before activation on 15 July at 20:00:41 UTC 1. The public sale opened at 17:00 UTC on 20 July. Only five tokens were minted in the first ten minutes, and the edition sold out at 17:20:17 UTC 1. The index's price field reads 0 1. On-chain transactions show a falling-price (Dutch) auction. The first public mint sent 2 ETH at 17:00:26 and a mint at 17:08:18 sent about 1.144 ETH. #6 sent 0.62 ETH at 17:16:30, and one of the final mints sent about 0.485 ETH at 17:20:17 19. 190 of the 196 were minted from 17:16 onwards, in the last four minutes and near the bottom of the curve 119. The index's lowest listing at retrieval was about 0.4999 ETH, close to that closing price 1.

The project record commits "10% of all proceeds" to Every Shelter, an organisation "building a localized refugee-aid ecosystem" 1.

The index records CC BY-NC-ND 4.0 with a link to the Creative Commons deed (the stored label has a stray leading space) 120. On that licence the images may be shared non-commercially with attribution, but not adapted. Crops, recolourings and derivative prints need the artist's permission. The program has no separate code licence and loads no library 1.

Significance and limitations

Squares shows a designer's constraint turned into a generative system. It takes a monospace cell, a staircase and one blurred photograph, and uses blend modes to get depth from overlap 1115. The code adds three findings: one embedded image behind every background, five traits fixed by the palette, and grain that changes at every load. The weak side of this draft is the market: no auction, record sale or grail lore for Squares was found.

Unresolved research questions:

  1. Is the embedded 40 by 53 pixel image the "one blurry photo of color" from 2015 or 2016 that Grasser describes? He could confirm this.
  2. What were the Dutch auction's starting price, resting price and decay schedule? Only individual transaction values were checked here.
  3. Which five Squares did Flamingo DAO buy in late 2023, and are they still held? Was the 10% donation to Every Shelter made?
  4. Has Squares ever been printed or exhibited? Grasser's August 2025 post about a Squares video "made for a website we are working on" is a lead, but X could not be read (https://x.com/martingrasser/status/1953203842893660321).
  5. The interview quotations here come from automated WebFetch extraction of the Substack, Bright Moments, Decrypt and nft now pages and should be checked against the originals.

Bibliography

Primary

  1. Art Blocks public GraphQL index, projects_metadata for project 330 (including the full program, creative credit and charitable giving details), tokens_metadata for all 196 tokens, and transfers_metadata for the project. Retrieved 20–21 September 2026 via https://artblocks-mainnet.hasura.app/v1/graphql. Trait replay and counts are the author's own computation from these data. 

  1. Art Blocks, "Squares by Martin Grasser", collection page. https://www.artblocks.io/collection/squares-by-martin-grasser 

  1. Kanbas, "Martin Grasser", artist page. https://kanbas.art/artists/martin-grasser 

  1. Martin Grasser, "Squares (196), 2022", project page. https://martingrasser.com/projects/squares/ 

  1. Martin Grasser, portfolio home page and project list. https://martingrasser.com/ 

  1. Martin Grasser, "About Portraits". https://portraits.martingrasser.com/about/ 

  1. Etherscan, mint transactions for project 330 on the Art Blocks minter 0xD94C7060808f3c876824E57e685702f3834D2e13: https://etherscan.io/tx/0xd48c24063e37124e120fb88664e8e7ada3c8c585d666867477c67b74f344b83f (#1), https://etherscan.io/tx/0x384c3adbf79e9209eceb56c4321d2705c147428155b1bb90c200741279bb1351 (#4), https://etherscan.io/tx/0x4d30dd71bfa34808817530121f839e7afb1084e9ad407cd3318c854ea8bdb721 (#6), https://etherscan.io/tx/0x161e6fe9fed2a77b347af844bb30c04ce080420e1d7ebfb16a34e44f7631d797 (#192). Read 21 September 2026. 

  1. Creative Commons, Attribution-NonCommercial-NoDerivatives 4.0 International. https://creativecommons.org/licenses/by-nc-nd/4.0/ 

Interviews and profiles

  1. arltcollector, "Martin Grasser explains how he uses color as a tool and dives deeper into his 2 acclaimed projects from this year - Squares and LOVE", Substack, 30 December 2022. https://arltcollector.substack.com/p/martin-grasser-explains-how-he-uses 

  1. Bright Moments, "Martin Grasser: A Temporary Arrangement of Materials", Bright Moments Quarterly, February 2024. https://www.brightmoments.io/quarterly/martin-grasser 

  1. Matt Medved, "Next Up: Martin Grasser's Journey From Corporate Design to Generative Art", nft now, 7 September 2024. https://nftnow.com/art/next-up-martin-grassers-journey-from-corporate-design-to-generative-art/ 

  1. Dyslexic Design Thinking, "Dyslexic Dictionary: Martin Grasser". https://dyslexicdesignthinking.com/exhibits/dyslexic-dictionary/martin-grasser 

  1. UCLA Design Media Arts, "DMA Lecture Series featuring Martin Grasser: The Art of Infrastructures", 14 April 2026. https://dma.ucla.edu/events/dma-lecture-series-featuring-martin-grasser-the-art-of-infrastructures 

Video and audio

  1. "Martin Grasser: The Art of Infrastructures", UCLA Design Media Arts, YouTube. https://www.youtube.com/watch?v=12JXFYeeABA (title and channel confirmed via YouTube oEmbed on 21 September 2026; not watched for this draft). 

Criticism, collecting and market

  1. Mattis Meichler, "Twitter's Original 'Blue Bird' Logo Creator Martin Grasser Says 'It Had a Great 11-Year Run'", Decrypt, 26 July 2023. https://decrypt.co/150097/twitters-original-blue-bird-logo-creator-martin-grasser-says-had-great-11-year-run 

  1. Marty Swant, "Twitter's original logo designer explains why the bluebird worked so well, and how 'X' changes everything", Digiday, 26 July 2023. https://digiday.com/media/twitters-original-logo-designer-explains-why-the-bluebird-worked-so-well-and-how-x-changes-everything/ 

  1. Kanbas and Dyslexic Design Thinking both report the Tokyo TDC recognition; the TDC's own listing was not checked. See 3 and 12 above. 

  1. Odaily, "The price of many NFTs has been raised. Why is Flamingo DAO buying like crazy?", 1 December 2023. https://www.odaily.news/en/post/5191390 

  1. NiftyNoon, "NiftyNoon: Flamingo DAO's $1 Million Sweep", 1 December 2023. https://niftynoon.substack.com/p/niftynoon-flamingo-daos-1-million 

  1. AB5D, "Squares by Martin Grasser" (earlier essay), read 21 September 2026. https://ab5d.xyz/series/squares-by-martin-grasser/ 

Further reading

Supplied revision published by AB5D. Author not specified. Original prose: CC0. Artwork and code rights are addressed separately above.

Token usage unavailable for the complete essay.

Token usage

Usage for this supplied revision was not provided. The linked generation record describes the original research batch.

Generation record

Artist dossier · Source record · Essay data

Research record

The indexed project script was inspected. Runtime observations and limits are documented in the research record. Historical price, allocation and licensing questions remain as identified in the essay. Publication does not resolve those evidence gaps.

Retrieval evidence · Research notes · Manuscript