Blocky Alphabet Glyph System
Blocky Alphabet Glyph System
Section titled “Blocky Alphabet Glyph System”Complete documentation for the pixel-art blocky alphabet used in this project.
📚 Documentation Overview
Section titled “📚 Documentation Overview”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.
Available Documentation Files
Section titled “Available Documentation Files”-
glyphs/README.md - Main documentation hub
- System overview
- Quick start guide
- Usage examples
- Technical specifications
-
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
-
glyphs/QUICK-REFERENCE.md - Quick lookup guide
- Fast character lookup by width
- Common patterns and examples
- One-liner code snippets
- Cheat sheet format
-
glyphs/index.html - Interactive gallery
- Visual grid of all glyphs
- Adjustable block size
- Hoverable preview cards
- Color legend
🎨 What’s Included
Section titled “🎨 What’s Included”26 Letters (A-Z)
Section titled “26 Letters (A-Z)”All uppercase letters rendered in blocky pixel-art style using a 7-row grid system.
6 Symbols
Section titled “6 Symbols”-Hyphen (for compound words)|Pipe (for separators)'Apostrophe (for contractions)"Quote (for quoted text)?Question mark!Exclamation point
🚀 Quick Start
Section titled “🚀 Quick Start”import { blockyTextToSVG } from './pages/src/utils/alphabet';
// Basic usageconst svg = blockyTextToSVG('HELLO');
// With optionsconst customSvg = blockyTextToSVG('WARCRAFT', { theme: 'dark', blockSize: 6, charSpacing: 1, optimize: true,});📖 Viewing Options
Section titled “📖 Viewing Options”1. Markdown Files
Section titled “1. Markdown Files”Perfect for reading in GitHub or any markdown viewer:
- Complete technical documentation
- ASCII grid representations
- Inline SVG previews
2. HTML Gallery
Section titled “2. HTML Gallery”Open docs/glyphs/index.html in a browser:
- Interactive visual interface
- Real-time block size adjustment
- Beautiful dark theme
- Responsive layout
3. Quick Reference
Section titled “3. Quick Reference”Use docs/glyphs/QUICK-REFERENCE.md for:
- Fast character lookup
- Common patterns
- One-liner examples
- Cheat sheet format
🔗 Key Locations
Section titled “🔗 Key Locations”| Resource | Path |
|---|---|
| Main Docs | docs/glyphs/README.md |
| Full Reference | docs/glyphs/COMPLETE-REFERENCE.md |
| Quick Reference | docs/glyphs/QUICK-REFERENCE.md |
| Interactive Gallery | docs/glyphs/index.html |
| Source Code | pages/src/utils/alphabet/ |
| Sample SVGs | pages/samples/ |
🎯 Common Examples
Section titled “🎯 Common Examples”// Logo generationblockyTextToSVG('OPENCODE');
// Warcraft themeblockyTextToSVG('WARCRAFT');
// With punctuationblockyTextToSVG('READY?');blockyTextToSVG('YES!');
// Compound wordsblockyTextToSVG('A-Z');
// ContractionsblockyTextToSVG("DON'T");🛠️ Development
Section titled “🛠️ Development”Generate Documentation
Section titled “Generate Documentation”cd pagesbun run generate-glyph-docs.mjsGenerate Sample SVGs
Section titled “Generate Sample SVGs”cd pagesbun run generate-samples.mjs📊 System Specifications
Section titled “📊 System Specifications”- 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)
🎨 Color Themes
Section titled “🎨 Color Themes”Dark Theme (Default)
Section titled “Dark Theme (Default)”PRIMARY: #F1ECEC (off-white)SECONDARY: #B7B1B1 (light gray)TERTIARY: #4B4646 (dark gray)Light Theme
Section titled “Light Theme”PRIMARY: #2D2D2D (dark gray)SECONDARY: #4A4A4A (medium gray)TERTIARY: #B8B8B8 (light gray)📝 Notes
Section titled “📝 Notes”- 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
🔮 Future Enhancements
Section titled “🔮 Future Enhancements”- Numeric digits (0-9)
- Additional symbols (
.,,,:,;) - Lowercase letters (a-z)
- Ligatures for common pairs
- Visible space character
- Animation support
- Font file export
📄 License
Section titled “📄 License”Part of the opencode-warcraft-notifications project.
See LICENSE for details.
Start Exploring:
- Browse the interactive gallery
- Read the complete reference
- Check the quick reference
- Review the main documentation