The True Glyph-Primitive Vision

Core Concept: The Glyph IS the Window

A single entity that exists in three visual states, morphing between them through smooth animations based on user interaction.

The Glyph State Continuum

Core States (Implemented)

1. Collapsed State (8px glyph) ✓

2. Proximity Expanded State (8px → 220px) ✓

3. Full Window State ✓

The Universal Manifestation Principle

THE ULTIMATE VISION: A glyph can manifest into ANY interactive form the user desires. The glyph is not limited to predefined states but can morph into whatever shape, model, or interface is needed:

Potential Manifestations

The Morphing Grammar

Each manifestation is just another state in the glyph's continuous transformation space. The same DOM element, the same identity, infinite forms:

Glyph → [User Intent] → Manifestation
                     ↓
              [Interaction]
                     ↓
            Another Form or Back

Why This Matters

  1. Infinite Flexibility: No artificial constraints on what UI can be
  2. Consistent Identity: The glyph maintains its identity across all forms
  3. Learnable Patterns: Users learn the morphing grammar, not specific UIs
  4. Future-Proof: New interface paradigms are just new manifestation types
  5. Conceptual Purity: ONE primitive, infinite expressions

Glyph State Persistence

Glyphs are stateful entities that remember their window configuration:

When a window collapses back to a glyph and later re-expands, it restores exactly as the user left it. This reinforces the mental model that the glyph IS the window - it's just temporarily minimized, not destroyed and recreated.

Attestable Glyphs

Glyphs are attestable. Plugins attest new glyphs on-the-fly. The system is extended by attesting glyphs, not hardcoding them.

Canvas state becomes attested: glyph positions, code, results stored as provenance-tracked claims. Multi-device sync works naturally (demonstrated in mobile.md London tube journey).

GlyphRun Positioning

The GlyphRun position is configurable - it can dock to either the left or right side of the screen. By default it appears on the right side, vertically centered. Users can configure it to appear on the left side if that better fits their workflow. The vertical stacking of glyphs remains consistent regardless of which side is chosen.

The Critical Animation Sequence

Expand (Glyph → Window)

  1. User clicks the proximity-expanded glyph
  2. Capture glyph's current position and size
  3. Begin transformation animation:
  4. Animation feels smooth but snappy
  5. Glyph is removed from tray (it has become the window)

Collapse (Window → Glyph)

  1. User clicks minimize button on window
  2. Window begins shrinking animation:
  3. Window element morphs all the way down to 8px glyph
  4. Glyph reappears in tray at the end (the window has become the glyph)

Why This Vision Matters

Visual Continuity

Users SEE the transformation. There's no teleportation, no sudden appearance/disappearance. The glyph literally grows into the window and shrinks back. This visual continuity makes the relationship crystal clear.

Conceptual Simplicity

Spatial Memory

Users know where their windows "live" when minimized - they can see them as glyphs. When they expand a glyph, they're not launching something new, they're revealing what was always there.

The End Goal

When complete, users will experience a seamless transformation where glyphs in the tray literally grow into windows and shrink back. The animation makes the relationship unmistakable - the glyph IS the window, just in different visual states based on user needs.

Future: The Universal Glyph Migration

The Glyph Symbol: ⧉

The glyph primitive uses as its symbol. This sits above the current symbol system (⌬, ≡, ꩜, etc.) as the universal UI primitive that manifests any backend symbol.

Attestable Glyph State

Glyphs are first-class attestable entities:

GLYPH-abc123 is expanded at {x:100, y:200, w:400, h:300} by USER-xyz at 2025-01-28T...
GLYPH-def456 is collapsed in GlyphRun by USER-xyz at 2025-01-28T...

This enables:

Sym as Glyph Expression

Symbols (sym) are the visual expression of a glyph — through a sym, a glyph can be expressed. The sym package becomes a subpackage of glyph/ (glyph/sym):

GlyphRun Replacing Symbol Palette

The current Symbol Palette will be absorbed into the GlyphRun:

Why This Unification Matters

  1. Conceptual Clarity: One primitive (Glyph) instead of windows, dots, symbols, segments
  2. Visual Consistency: Everything uses the same morph animations and proximity behaviors
  3. Backend-Frontend Alignment: The same term and concept throughout the entire stack
  4. User Mental Model: Users learn ONE interaction pattern that applies everywhere
  5. Future Extensibility: New features become new glyph types with consistent behavior

Attestable Grammar: Self-Describing SEGs

The final step of the glyph migration: the grammar itself becomes attestable. Today, segments (i, am, ax, ix, etc.) are hardcoded constants. In the future, a SEG, its symbol, and its glyph manifestation are all attested:

SEG "ax" is segment of grammar by system at bootstrap
SYM "⋈" is symbol of SEG "ax" by system at bootstrap
GLYPH "ax-glyph" is manifestation of SEG "ax" by system at bootstrap

This makes the system fully self-describing. A plugin can attest a new segment, give it a symbol, and define its glyph manifestation — the system discovers it through the attestation graph rather than through imports. The operators that create attestations are themselves attestations.

The Vision: Glyph as Universal Primitive

Glyphs are the atoms of the QNTX interface. Every visual element that can transform, morph, or contain information is a glyph. They can be:

All sharing the same fundamental behavior: proximity morphing, smooth transformations, and the ability to exist in multiple visual states.

Related Vision