issues/15-progress.md

Phase 15 Progress Report

Phase 15 Goals

"Chromatic Encoding — Text as Color, Collection as Palette, Arrangement as Art"

Phase 15 transforms semantic embeddings into colors, turning each poem/passage into a pixel. Artists arrange these pixels into images, and the arrangement itself becomes a reading order — the image IS the navigation sequence, frozen in color.

From Previous Phases

  • 768-dimensional embeddings for all poems
  • Cosine similarity infrastructure
  • Semantic color assignments (limited, to be expanded)
  • Static HTML generation pipeline

Phase 15 Objectives

  • Design embedding→color mapping algorithms (PCA, anchor-based, modular overflow)
  • Generate color palettes representing entire collections
  • Create default arrangements (linear, similarity-chain)
  • Implement bidirectional encoding: image↔reading sequence
  • Enable artists to compose images from poem-pixels

The Core Inversion

TraditionalChromatic Encoding
Images illustrate textText constitutes the image
Reading is temporalReading is spatial
The author sequencesThe artist arranges
Navigation is abstractNavigation is visible

Phase 15 Issues

Active Issues

IssueDescriptionStatusPriority
15-001Chromatic Text Encoding System (Vision)OpenHigh

Sub-Issues (To Be Created)

Sub-IssueDescriptionStatus
15-001aDesign embedding-to-color mapping algorithmsPlanned
15-001bGenerate poem color palettePlanned
15-001cCreate default arrangementsPlanned
15-001dImplement image→sequence decoderPlanned
15-001eBuild encoded reading page generatorPlanned
15-001fInteractive palette arrangement toolFuture

Completed Issues

None yet.

Key Concepts

Embedding → Color

Each 768-dimensional vector becomes RGB:

poem "silence" → [0.23, -0.15, 0.87, ...] → RGB(142, 87, 203) → █

Mapping Strategies

StrategyMethodCharacter
NaiveFirst 3 dimsFast, ignores most data
FoldedSum groups of 256Uses all dims, loses structure
PCAProject to 3DPreserves variance, similar = similar color
AnchoredSimilarity to R/G/B conceptsSemantic meaning → color meaning
ModularOverflow arithmeticUnexpected relationships

The Palette

~7,800 poems = ~7,800 pixels = a 89×88 image

Each pixel is a poem. The collection is a visual artifact.

Encoded Reading Order

The spatial arrangement of pixels defines a reading sequence:

Image pixels: [P42, P17, P89, P3, ...]
Reading:      silence → fire → memory → ...

The image IS the navigation. Share the image, share the reading experience.

Completion Criteria

  • [ ] At least one embedding→color mapping algorithm implemented
  • [ ] Poem color palette generated (palette.json, palette.png)
  • [ ] Default arrangements created (linear, similarity-chain)
  • [ ] Image→sequence decoder working
  • [ ] Encoded reading pages generated
  • [ ] Round-trip verified: poems → image → reading sequence

Phase Status: OPEN

Created: 2026-01-28

Cross-Phase Dependencies

Depends on:

  • Phase 1-8: Embedding infrastructure
  • Optionally Phase 14: Book passages could also become pixels

Enables:

  • Visual representation of literary collections
  • Artist-curated reading experiences
  • A new form of literary art: the chromatic arrangement

Related Documents

  • 15-001: Chromatic Text Encoding System (vision issue)
  • assets/embeddings/embeddinggemma_latest/poem_colors.json — Existing color assignments
  • src/similarity-engine.lua — Cosine similarity for anchor mapping
  • Phase 14: Narrative Tapestry (complementary approach)

Philosophical Note

The artist who arranges the pixels is not illustrating the work. They are editing it — choosing which poem follows which, creating a new path through meaning. The image is their editorial signature, frozen in color.