Skip to content

Blocky Alphabet Glyph System

Complete documentation for the pixel-art blocky alphabet used in this project.

This project includes a comprehensive glyph system inspired by retro pixel art and Warcraft II aesthetics. All glyphs are documented with both text representations and visual SVG previews.

  1. glyphs/README.md - Main documentation hub

    • System overview
    • Quick start guide
    • Usage examples
    • Technical specifications
  2. glyphs/COMPLETE-REFERENCE.md - Comprehensive reference

    • All 26 letters (A-Z) with ASCII grids
    • All 6 symbols with details
    • Inline SVG previews for every glyph
    • Color zone explanations
  3. glyphs/QUICK-REFERENCE.md - Quick lookup guide

    • Fast character lookup by width
    • Common patterns and examples
    • One-liner code snippets
    • Cheat sheet format
  4. glyphs/index.html - Interactive gallery

    • Visual grid of all glyphs
    • Adjustable block size
    • Hoverable preview cards
    • Color legend

All uppercase letters rendered in blocky pixel-art style using a 7-row grid system.

  • - Hyphen (for compound words)
  • | Pipe (for separators)
  • ' Apostrophe (for contractions)
  • " Quote (for quoted text)
  • ? Question mark
  • ! Exclamation point
import { blockyTextToSVG } from './pages/src/utils/alphabet';
// Basic usage
const svg = blockyTextToSVG('HELLO');
// With options
const customSvg = blockyTextToSVG('WARCRAFT', {
theme: 'dark',
blockSize: 6,
charSpacing: 1,
optimize: true,
});

Perfect for reading in GitHub or any markdown viewer:

  • Complete technical documentation
  • ASCII grid representations
  • Inline SVG previews

Open docs/glyphs/index.html in a browser:

  • Interactive visual interface
  • Real-time block size adjustment
  • Beautiful dark theme
  • Responsive layout

Use docs/glyphs/QUICK-REFERENCE.md for:

  • Fast character lookup
  • Common patterns
  • One-liner examples
  • Cheat sheet format
ResourcePath
Main Docsdocs/glyphs/README.md
Full Referencedocs/glyphs/COMPLETE-REFERENCE.md
Quick Referencedocs/glyphs/QUICK-REFERENCE.md
Interactive Gallerydocs/glyphs/index.html
Source Codepages/src/utils/alphabet/
Sample SVGspages/samples/
// Logo generation
blockyTextToSVG('OPENCODE');
// Warcraft theme
blockyTextToSVG('WARCRAFT');
// With punctuation
blockyTextToSVG('READY?');
blockyTextToSVG('YES!');
// Compound words
blockyTextToSVG('A-Z');
// Contractions
blockyTextToSVG("DON'T");
Terminal window
cd pages
bun run generate-glyph-docs.mjs
Terminal window
cd pages
bun run generate-samples.mjs
  • Grid: 7 rows × 1-5 columns (variable width)
  • Colors: 3-tone palette (Primary, Secondary, Tertiary)
  • Format: Optimized SVG paths
  • Themes: Dark (default) and Light
  • Characters: 32 total (26 letters + 6 symbols)
PRIMARY: #F1ECEC (off-white)
SECONDARY: #B7B1B1 (light gray)
TERTIARY: #4B4646 (dark gray)
PRIMARY: #2D2D2D (dark gray)
SECONDARY: #4A4A4A (medium gray)
TERTIARY: #B8B8B8 (light gray)
  • Only uppercase letters (A-Z) are supported
  • Numbers (0-9) are not yet implemented
  • Spaces are rendered as gaps (no visible character)
  • Limited to 6 punctuation symbols
  • Consistent 7-row height for all glyphs
  • Numeric digits (0-9)
  • Additional symbols (., ,, :, ;)
  • Lowercase letters (a-z)
  • Ligatures for common pairs
  • Visible space character
  • Animation support
  • Font file export

Part of the opencode-warcraft-notifications project.
See LICENSE for details.


Start Exploring:

  1. Browse the interactive gallery
  2. Read the complete reference
  3. Check the quick reference
  4. Review the main documentation