Skip to content

Documentation Summary

Complete documentation for the Blocky Alphabet glyph system with multiple viewing formats.

docs/
├── GLYPHS.md # Top-level entry point
└── glyphs/
├── README.md # Main documentation (7.4KB, 297 lines)
├── COMPLETE-REFERENCE.md # Full reference (30KB, 1380 lines)
├── QUICK-REFERENCE.md # Quick lookup (5.5KB, 237 lines)
├── index.html # Interactive gallery (8.2KB, 333 lines)
└── SUMMARY.md # This file
pages/samples/
├── opencode.svg # "OPENCODE" logo
├── warcraft.svg # "WARCRAFT" text
├── hello-world.svg # "HELLO WORLD"
├── a-z-test-.svg # Alphabet demo
└── quick-fix-.svg # Punctuation demo
MetricValue
Total documentation files5
Total lines of documentation2,010
Total size~52KB
Letters documented26 (A-Z)
Symbols documented6 (-, |, ’, ”, ?, !)
Sample SVGs generated6
Interactive featuresYes (HTML gallery)

docs/GLYPHS.md - Top-level overview with quick links

README.md - Technical documentation with code examples

QUICK-REFERENCE.md - Fast character lookup and patterns

COMPLETE-REFERENCE.md - Every glyph with ASCII grids and SVGs

index.html - Interactive gallery (open in browser)

  • System overview
  • Quick start guide
  • API documentation
  • Usage examples
  • Color system explanation
  • Development instructions

Best for: Getting started, understanding the system

  • All 26 letters with:
    • ASCII grid representation
    • Width specification
    • Inline SVG preview
  • All 6 symbols with:
    • ASCII grid representation
    • Character codes
    • Usage examples
  • Complete API reference
  • Grid system explanation

Best for: Looking up specific glyphs, seeing visual representations

  • Character lookup by width
  • Common patterns
  • One-liner examples
  • Color codes
  • Quick calculations
  • Use case table

Best for: Fast lookup, copying code snippets

  • Visual grid of all glyphs
  • Hoverable preview cards
  • Adjustable block size
  • Color legend
  • Responsive layout
  • Dark theme UI

Best for: Visual exploration, presentations

Letters (26):

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Symbols (6):

- | ' " ? !
WidthCharacters
1 columnI, |, ’, !
2 columns
3 columnsF, J, L, -
4 columnsA, B, C, D, E, G, H, K, N, O, P, Q, R, S, T, U, Y, Z, ?
5 columnsM, V, W, X
import { blockyTextToSVG } from './pages/src/utils/alphabet';
const svg = blockyTextToSVG('HELLO');
blockyTextToSVG('READY?'); // Question mark
blockyTextToSVG('YES!'); // Exclamation
blockyTextToSVG('A-Z'); // Hyphen
blockyTextToSVG("DON'T"); // Apostrophe
blockyTextToSVG('WARCRAFT', {
theme: 'dark',
blockSize: 6,
charSpacing: 1,
optimize: true,
});

All sample SVGs are available in pages/samples/:

  1. opencode.svg - Project logo
  2. warcraft.svg - Theme name
  3. hello-world.svg - Classic greeting
  4. a-z-test-.svg - Full alphabet with hyphen
  5. quick-fix-.svg - Punctuation demonstration

See all glyphs visually? → Open index.html in a browser

Look up a specific character? → Check QUICK-REFERENCE.md lookup tables

Understand the system? → Read README.md overview

Copy code examples? → Browse QUICK-REFERENCE.md patterns

See every detail? → Reference COMPLETE-REFERENCE.md

Start from scratch? → Begin at docs/GLYPHS.md

Terminal window
cd pages
bun run generate-glyph-docs.mjs

This regenerates:

  • COMPLETE-REFERENCE.md (with all glyphs)
  • (HTML gallery is static)
Terminal window
cd pages
bun run generate-samples.mjs

This creates/updates SVG files in pages/samples/

  • Rows: 7 (fixed)
  • Columns: 1-5 (variable)
  • Block size: 6px (default)
  • Char spacing: 1 block (default)
  • PRIMARY: Rows 0-2, 6
  • SECONDARY: Rows 3-5

Dark (default):

  • PRIMARY: #F1ECEC
  • SECONDARY: #B7B1B1
  • TERTIARY: #4B4646

Light:

  • PRIMARY: #2D2D2D
  • SECONDARY: #4A4A4A
  • TERTIARY: #B8B8B8

Complete Coverage - All 26 letters + 6 symbols
Multiple Formats - Markdown, HTML, quick reference
Visual Previews - SVG renders for every glyph
Interactive Gallery - Browser-based exploration
Code Examples - Real usage patterns
ASCII Grids - Text representation of each glyph
Technical Specs - Full API documentation
Sample Files - Pre-generated SVG examples

  • ✅ All 32 characters documented
  • ✅ ASCII grids for all glyphs
  • ✅ SVG previews for all letters
  • ✅ Usage examples included
  • ✅ Technical specifications complete
  • ✅ Code snippets tested
  • ✅ Markdown (3 files)
  • ✅ HTML (1 interactive gallery)
  • ✅ SVG (6 sample files)
  • ✅ Quick reference (cheat sheet)
  • ✅ Logical file structure
  • ✅ Cross-referenced links
  • ✅ Table of contents
  • ✅ Clear navigation
  1. Open index.html to see the gallery
  2. Read README.md to understand the system
  3. Try the code examples from QUICK-REFERENCE.md
  1. Review the API in README.md
  2. Check source code in pages/src/utils/alphabet/
  3. Generate your own SVGs using the examples
  1. Update glyphs in pages/src/utils/alphabet/glyphs/
  2. Regenerate docs with bun run generate-glyph-docs.mjs
  3. Test changes in the HTML gallery
  • pages/src/utils/alphabet/ - Glyph definitions
  • pages/src/utils/alphabet/glyphs/letters/ - Letter glyphs
  • pages/src/utils/alphabet/glyphs/symbols/ - Symbol glyphs
  • pages/src/utils/alphabet/README.md - Technical README
  • pages/src/utils/alphabet/LETTERS.md - Letter reference
  • pages/src/utils/alphabet/USAGE.md - Usage guide
  • pages/generate-glyph-docs.mjs - Doc generator
  • pages/generate-samples.mjs - SVG generator

This documentation provides:

🎨 Visual Reference - See exactly what each glyph looks like
📐 Technical Details - Understand the grid system
💻 Code Examples - Copy-paste ready snippets
🔍 Fast Lookup - Find characters quickly
🎯 Multiple Views - Choose your preferred format
📱 Interactive - Explore in the browser
📖 Complete - No glyph left undocumented

You now have comprehensive documentation for all glyphs in the system:

  • ✅ 4 documentation files (README, Complete Reference, Quick Reference, HTML)
  • ✅ 32 glyphs fully documented (26 letters + 6 symbols)
  • ✅ ASCII grids for all characters
  • ✅ SVG previews for all letters
  • ✅ Interactive HTML gallery
  • ✅ 6 sample SVG files
  • ✅ Multiple navigation paths
  • ✅ Complete code examples

Start exploring: docs/GLYPHS.md


Generated: November 17, 2025
Total Lines: 2,010+
Total Size: ~52KB
Coverage: 100%