AB5D

Quine

Larva Labs · Project 506 · Curated

Art Blocks Curated, project 506 · 497 outputs · minted 6 to 10 October 2025 · NFT License

Quine #390 by Larva Labs, from the AB5D collection
Quine #390 by Larva Labs. Copyright: NFT License. From the AB5D collection.
Quine #390: a Liminal Lattice in the RM chrome, magenta and black bars drifting diagonally across a pale ground, with dark code set in the gaps

Quine #390, a Liminal, Non-Euclidean Lattice 7-Quine in the RM chrome, held by AB5D. Render: Art Blocks media proxy.

The work and its context

Quine is project 506 on the Art Blocks contract 0xab00000000002ade39f58f9d8278a31574ffbe77. The index records 497 invocations against a maximum of 497, the runtime custom@na, an aspect ratio of 0.5625 (9:16) and the licence label "NFT License", linked to nftlicense.org 1. Its project text calls it "Larva Labs' contribution to the final Art Blocks Curated series" 1.

A quine is a program whose output is its own source code. Each Quine is a coloured pattern on a 78 by 148 grid, and the program that drew it is typeset into the cells of that pattern 2. Run the listing and it draws the next image. Larva Labs, the studio of Matt Hall and John Watkinson, frame this as a loop between code and art: "Code Generates Art ⇄ Art Generates Code" 2. The project text compares it to DNA, a program that makes the cell and also a copy of itself 1.

The work closes a long arc for the studio. Its Glyph engine takes its algorithm from Autoglyphs, Larva Labs' earlier on-chain generative work 3. The studio told OpenSea that Quine was its first major project in four years 4. Right Click Save reported it as the final project in the Curated series 5.

Conception and development

In the OpenSea interview, Hall and Watkinson start from the platform itself: on Art Blocks "the artist submits only their algorithm, which is run by the collectors during the minting process" 4. They add that "most people who collect Art Blocks will never actually see the code that generates their pieces". Quine puts that code on the surface 4.

That set a hard constraint. As the studio wrote in its release essay, "the entirety of the code that generated the artwork had to fit into the artwork" 2. They met it with "code golf", compressing the program until it fitted a grid of about 11,500 cells while still reading as code 42. The result is a two-level design. A parent generator, the Art Blocks script, writes a much smaller child generator for each token, and only the child is shown 13. Larva Labs' project page describes that child as assembled from snippets for the engine, symmetry, colour and text layout 3.

The studio tested whole editions before release. It told OpenSea that each simulated full set of 497 outputs held a few that surprised them 4.

How the work was constructed

The program is two script parts that concatenate to 36,792 bytes, SHA-256 9a531132c0dc817b3f35fd6f280c43ba3a5a8a92cd389088ef03ab6d2ff757d9. It was retrieved from the Art Blocks index on 20 September 2026 and read in full 1. It is a complete HTML page with an SVG canvas of 1,440 by 2,560 units and no external library 1.

The parent seeds an sfc32 generator from four slices of the token hash and draws, in order, a Quinity, an Engine, a Code mode, a Chrome palette, a symmetry and a Space 1. It then fills a template with those choices, strips the unused blocks and hands the child its own seed. The child uses a separate Park-Miller generator. It draws the pattern, finds runs of cells to hold text, and writes its own source into them, one character per cell, ending with a signature line such as "Quine 390.1 by Larva Labs" 16.

Trait Rule in the code Published count of 497
Engine: Shape, Ribbon, Glyph, Force, Lattice 20% each 92, 93, 115, 89, 108
Quinity: Pseudo, Perfect, 2, 3, 5, 7, 11 2%, 4%, 20%, 30%, 22%, 14%, 8% 7, 15, 91, 158, 124, 68, 34
Code: Liminal 50% on Lattice, 10% on Shape and Force, 20% otherwise 42 of 108, 5 of 92, 7 of 89, 23 of 115 (Glyph), 11 of 93 (Ribbon)
Space: Euclidean 70% on Shape, 20% on Force, 0% on Glyph, 30% otherwise 67 of 92, 19 of 89, 0 of 115, 36 of 108 (Lattice), 21 of 93 (Ribbon)
Chrome 20 weighted palettes; X only on Lattice RO 41 most common, X 5 least

Counts are from the index; the rules are from the code 1. "Subliminal" places the code in coloured cells, in pale text. "Liminal" places it in the empty cells, in dark text 12. Quinity sets how many generations the listing passes through before it returns to itself. A 3-Quine's listing draws a second image, whose listing draws a third, whose listing draws the first again 23. Larva Labs' field guide glosses the Chrome codes as colour initials, such as K for black, S for sky blue and X for fluorescent orange 6.

The display is set by the collector. The script reads a "generation" value from the token's post parameters and renders that generation, defaulting to the first 1. The artist's display notes confirm that owners of multi-generation Quines can choose which one appears as the main image, and change it at any time 1.

Quirks in the algorithm

A full read of the program, checked against all 497 token records by re-running the trait function for every hash, turned up the following.

  1. Traits are rejection-sampled, and 47 tokens were redrawn. Before rendering, the script test-runs every generation of the child program. If the code cannot fit the pattern, it discards the whole draw and starts again from a shifted seed 1. Our re-run of the trait function matches the published traits on the first draw for 450 tokens. The other 47 match only a later draw: 42 on the second, four on the third (#106, #135, #173, #359) and one, #347, on the fourth (own computation) 1. Of the 47 rejected first drafts, 29 were Shape and 13 Ribbon.
  2. Why the published mix drifts from the weights. Those rejections are not random. Twelve of the 13 rejected Ribbons were Liminal, which helps explain why only 11 of 93 Ribbons are Liminal against a written 20 per cent. Shape lost more first drafts than any other engine, which fits its low final count of 92 against Glyph's 115 (own computation) 1.
  3. Two finished engines that can never run. The code contains full "Field" and "Motif" engines, including a random-walk motif builder. The engine draw only offers the other five, so neither can appear (code reading) 1. The Motif branch also contains an addition that would join two strings instead of adding two numbers; it is unreachable.
  4. Two palettes both called BX. On any engine other than Lattice, a BX draw is swapped for an alternative with wider blue and black bands and the same name. Of the 18 BX Quines, only the four Lattices use the palette that the name stands for in the table (code reading) 1.
  5. Palettes that are checked for but do not exist. A rule rerolls "S7" and "S16" palettes on Glyph outputs, but no palettes of those names are defined. A further palette, "RTSP", is commented out 1.
  6. Symmetry is drawn but not published. Every token draws a symmetry, and the lines that would label it are commented out 1. The field guide treats it as an unofficial trait 6. The chances vary by engine: Force can be mirrored left to right or in both axes but never top to bottom alone, never diagonally, and never without symmetry. Elliptic Glyphs are never mirrored left to right alone. Only Lattice and Ribbon can have no symmetry, as in #390 (code reading) 1.
  7. Rules found in the published data. All 115 Glyphs are Non-Euclidean, and all five X palettes are Lattices (#129, #138, #331, #334, #484) 1.
  8. The Pseudo-Quine is almost infinite. A Pseudo-Quine's next generation number is its current number plus one, forced to a 32-bit integer. It does not loop in any practical sense, but the integer wraps after about four billion steps (code reading) 1. The field guide calls such Quines "effectively infinite" 6. The pre-render test checks only the first 13 generations.
  9. Test-only padding. In test mode the child carries a block of filler comment, so that the fit test runs against a longer listing than the one finally drawn (code reading) 1. The signature "by Larva Labs" is stored base64-encoded in the template and decoded when the listing is written.
  10. Fonts are the viewer's. The text is set in the generic monospace family, so the letterforms in a live view depend on the viewer's system (code reading) 1.

The most coveted variants

Quine is young, and the sources inspected do not yet record a stable hierarchy of grails. The traits the studio itself highlights, and the smallest trait groups in the index, suggest where attention goes 61.

X chrome (5 of 497). The rarest palette pairs black with fluorescent orange, and occurs only on Lattices 16. #129 is a Liminal 7-Quine: black bars and orange arcs mirrored in both axes. #484 is one of the Quines held at the artist address 1.

Quine #129: horizontal black bars crossed by fluorescent orange curves, mirrored in both axes

Quine #129, X chrome, one of five. Render: Art Blocks media proxy.

Pseudo-Quines (7) and Perfect-Quines (15). These are the two ends of Quinity. A Pseudo-Quine never returns to its starting image; a Perfect-Quine only ever draws itself 23. The Pseudo-Quines are #12, #70, #115, #142, #192, #426 and #489. #12 is a teal and black Lattice mirrored left to right (symmetry by own computation) 1.

Quine #12: a teal and black Lattice pattern mirrored left to right, like a woven mask

Quine #12, a Pseudo-Quine. Render: Art Blocks media proxy.

Liminal code (88). In a Liminal Quine the listing floats in the gaps of the pattern, in dark text 2. The field guide names a further unofficial variant: the "Nude Quine", where a Liminal generation sets all its code in one large block, with #485, generation 7, as its example 6. #3 is a Liminal Force in the RM chrome 1.

Quine #3: a pale field framed by magenta and black bands, with dark code filling the open spaces

Quine #3, a Liminal Force. Render: Art Blocks media proxy.

The Perfect Sig. The guide also names Quines whose signature line "Quine NNN.M by Larva Labs" lands intact on a line of its own, citing #164, generation 1 6. Because the generation shown is the owner's choice, both of these unofficial traits belong to a generation, not only to a token 16.

AB5D's example. #390, pictured at the top, is a Liminal, Non-Euclidean Lattice 7-Quine in RM, the fourth most common chrome 1. It has no symmetry, which is possible only for Lattice and Ribbon (code reading) 1.

Notable collectors

At retrieval the 497 Quines were held by 316 addresses, 243 of them holding one 1. The largest holding, 13, sits at the address the index records as the artist's. The next two hold 12 and 11; no source inspected names them 1. The VERSE series page reported a highest sale of $112,977 without naming the token or buyer 7. No museum acquisition of a Quine was found.

Quine in physical form

Art Blocks showed Quine at Art Basel Miami Beach, 3 to 7 December 2025, in Zero 10, the fair's new digital-art sector 8. The booth presented all 497 works in a custom vitrine, alongside ten signed, framed artist proofs selected by Larva Labs and offered through Art Blocks 8. The developer Jonnie Hallman built an animation for the show that prints and scans each Quine and runs its extracted code to make the next one, shown on a 4K display 9. A newsletter account describes framed prints, a grid table and an 8.5-minute looped animation at the booth 10. Art Blocks' release video on YouTube is titled "Quine by Larva Labs" 11.

Quine #0: an orange, blue and purple Force pattern mirrored left to right, like a stylised figure

Quine #0, minted three days before the auction and held at the artist address. Render: Art Blocks media proxy.

The mint

Why the index shows 497. The sales notes in the project record give the split: "477 artworks will be available in the October 9 ranked auction with settlement. The remaining 20 artworks are reserved by the artist" 1. The index bears this out (own computation) 1:

That gives 1 + 477 + 19 = 497, of which 20 were the artist's reserve 1. The project's maximum is set to 497, so no more can be minted 1. Of the 20 reserved Quines, 13 remain at the artist address (#0, #480 to #485, #489 to #493 and #496). The other seven have moved on, as the sales notes' "released at a later date" allows 1. No source inspected explains why 497 was chosen rather than a rounder figure. Art Blocks' announcement of the Art Blocks 500 collection counted 495 flagship projects and expected 500 by November 2025, so the number is not an edition-size rule of that collection 12.

The auction opened on 9 October at noon Eastern time 2. A post relayed by KuCoin gave a starting price of 0.25 ETH 13. The clearing price was 7.56 ETH, reported as about $31,000, per Phemex and Hallman 149. Phemex also reported early resales at 8.9 and 9.45 ETH 14. The index's price field reads 0, since settlement pricing is not stored there. Its lowest listing at retrieval was 2.12 ETH 1.

The index records "NFT License" with a link to nftlicense.org 1. The program carries no separate code licence, even though the program is the image. Collectors own an output whose visible content is Larva Labs' source code (code reading) 1.

Significance and limitations

Quine closes the Curated series with a work about the thing every Art Blocks project shares and almost none shows: the program 45. Its structure is recursive, since each token is an image that is also its own next generation, and collectors choose which generation stands for the token 12. The code also shows a cost of that ambition that the published traits hide. About one token in ten had its first draw of traits thrown away because the code would not fit (own computation) 1.

Unresolved research questions:

  1. Why 497? The sales notes explain the split into 477 and 20, but no source found explains the total. Larva Labs could be asked directly.
  2. Where did the seven reserved Quines that left the artist address go, and are they the ten framed artist proofs shown in Miami, or unrelated?
  3. The field guide's Quinity figures, as extracted by an automated fetch, did not match the index; the page should be read by hand. The OpenSea and release-essay quotations above also came from automated extraction and should be checked.
  4. Which Quine was the $112,977 sale reported by VERSE, and when?
  5. The Right Click Save interview and The Defiant's auction report did not load in full; X posts by Larva Labs and Art Blocks about the auction remain leads.

Bibliography

Primary

  1. Art Blocks public GraphQL index, projects_metadata for project 506 (including the full program, sales notes and artist display notes) and tokens_metadata for all 497 tokens. Retrieved 20 September 2026 via https://artblocks-mainnet.hasura.app/v1/graphql. Collection page: https://www.artblocks.io/collection/quine-by-larva-labs 

  1. Larva Labs, "Code Generates Art ⇄ Art Generates Code", 2 October 2025. https://larvalabs.com/writing/2025-10-2-18-0/code-generates-art-art-generates-code (also published by Art Blocks: https://www.artblocks.io/articles/quines-larva-labs-final-curated) 

  1. Larva Labs, "Quine" project page. https://www.larvalabs.com/quine 

  1. Larva Labs, "A Field Guide to Quine", 4 November 2025. https://larvalabs.com/writing/2025-11-4-18-0/a-field-guide-to-quine 

Video and audio

  1. "Quine by Larva Labs", Art Blocks Official, YouTube (title and channel confirmed via oEmbed, 20 September 2026; not watched for this draft). https://www.youtube.com/watch?v=tFST-HMBm4k 

  1. Jonnie Hallman, "Animating Quines for Larva Labs", 16 December 2025. https://destroytoday.com/blog/animating-quines-for-larva-labs 

Criticism, collecting and market

  1. Hannah Vanek, "In Conversation With Matt and John of Larva Labs", OpenSea, 9 October 2025. https://opensea.io/blog/articles/in-conversation-with-matt-and-john-of-larva-labs 

  1. Louis Jebb, "Larva Labs to Release Final Art Blocks Curated Project", Right Click Save, 2 October 2025. https://www.rightclicksave.com/article/larva-labs-to-release-final-art-blocks-curated-project-quine-news 

  1. VERSE, "Quine by Larva Labs" series page, market data read 20 September 2026. https://verse.works/series/quine-by-larva-labs 

  1. Art Blocks, "Art Blocks at Art Basel Miami: Presenting Quine by Larva Labs". https://www.artblocks.io/articles/art-basel-miami-presenting-quine-larva-labs 

  1. Lazy.com, "Newsletter #244: Animating Quines", 26 December 2025. https://lazynfts.substack.com/p/newsletter-244-animating-quines 

  1. Art Blocks, "Introducing Art Blocks 500". https://www.artblocks.io/articles/art-blocks-500-complete-collection 

  1. KuCoin News, "Larva Labs Quine - 477 public editions mint Oct 9-10, 2025" (summary of an X post). https://www.kucoin.com/news/insight/ETH/68dee08cc01dfa0006393f07 

  1. Phemex News, "Larva Labs' 'Quine' NFT Auction Nets Over $30,000 Per Piece", 10 October 2025. https://phemex.com/news/article/larva-labs-quine-nft-auction-nets-over-30000-per-piece-25599 

Further reading

AB5D editorial synthesis of the supplied revision and earlier essay. 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

· 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