Quick Reference
Quick Reference — Blocky Alphabet
Section titled “Quick Reference — Blocky Alphabet”Fast lookup guide for all available glyphs.
🔤 Letters (26)
Section titled “🔤 Letters (26)”Narrow (1-2 columns)
Section titled “Narrow (1-2 columns)”- I (1 col) - Vertical line
- J (3 cols) - Hook shape
Regular (3-4 columns)
Section titled “Regular (3-4 columns)”- A (4 cols) - Triangle top, horizontal bar
- B (4 cols) - Vertical left, double bumps
- C (4 cols) - Open right side
- D (4 cols) - Vertical left, rounded right
- E (4 cols) - Three horizontal bars
- F (3 cols) - Flag shape, top and middle bars
- G (4 cols) - C with bottom extension
- H (4 cols) - Two verticals, middle bar
- K (4 cols) - Vertical left, diagonal arms
- L (3 cols) - Vertical left, bottom bar
- N (4 cols) - Two verticals, diagonal
- O (4 cols) - Full rectangle
- P (4 cols) - Vertical left, top bump
- Q (4 cols) - O with tail
- R (4 cols) - P with diagonal leg
- S (4 cols) - Snake shape
- T (4 cols) - Top bar, vertical center
- U (4 cols) - Two verticals, bottom bar
- Y (4 cols) - Two tops merge, bottom tail
- Z (4 cols) - Diagonal zigzag
Wide (5 columns)
Section titled “Wide (5 columns)”- M (5 cols) - Two peaks
- V (5 cols) - Inverted triangle
- W (5 cols) - Double V shape
- X (5 cols) - Cross diagonal
🔣 Symbols (6)
Section titled “🔣 Symbols (6)”| Symbol | Name | Width | Position | Example |
|---|---|---|---|---|
- | Hyphen | 3 | Center (row 3) | A-Z |
| | Pipe | 1 | Full height | A|B |
' | Apostrophe | 1 | Top (rows 1-2) | DON'T |
" | Quote | 2 | Top (rows 0-1) | "HI" |
? | Question | 4 | Full (curve + dot) | WHY? |
! | Exclamation | 1 | Full (stem + dot) | YES! |
📐 Grid System Cheat Sheet
Section titled “📐 Grid System Cheat Sheet”Row 0: [Padding] → PRIMARY zoneRow 1: [Upper part] → PRIMARY zoneRow 2: [Upper part] → PRIMARY zoneRow 3: [Middle] → SECONDARY zoneRow 4: [Middle] → SECONDARY zoneRow 5: [Lower part] → SECONDARY zoneRow 6: [Padding] → PRIMARY zone🎨 Colors
Section titled “🎨 Colors”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)💻 Common Patterns
Section titled “💻 Common Patterns”Text Examples
Section titled “Text Examples”blockyTextToSVG('HELLO'); // Simple textblockyTextToSVG('A-Z'); // With hyphenblockyTextToSVG("DON'T"); // With apostropheblockyTextToSVG('READY?'); // With questionblockyTextToSVG('YES!'); // With exclamationblockyTextToSVG('A|B|C'); // With pipesWidth Calculations
Section titled “Width Calculations”Character width = columns × blockSizeSpacing = charSpacing × blockSizeTotal per char = width + spacingExample: “HELLO” (6px blocks, 1px spacing)
Section titled “Example: “HELLO” (6px blocks, 1px spacing)”H: 4 cols × 6px = 24pxE: 4 cols × 6px = 24pxL: 3 cols × 6px = 18pxL: 3 cols × 6px = 18pxO: 4 cols × 6px = 24px
Spacing: 4 × 1 × 6px = 24pxTotal width: 108px + 24px = 132pxHeight: 7 rows × 6px = 42px🔍 Character Lookup
Section titled “🔍 Character Lookup”By Width
Section titled “By Width”1 column:
- Pipe
| - Apostrophe
' - Exclamation
! - Letter I
2 columns:
- Quote
"
3 columns:
- Hyphen
- - Letters: F, J, L
4 columns:
- Question
? - Letters: A, B, C, D, E, G, H, K, N, O, P, Q, R, S, T, U, Y, Z
5 columns:
- Letters: M, V, W, X
By Height
Section titled “By Height”All glyphs: 7 rows (fixed)
By Top/Bottom Features
Section titled “By Top/Bottom Features”Top elements:
- Apostrophe
'(rows 1-2) - Quote
"(rows 0-1) - Letters with top features: A, B, D, E, F, G, etc.
Bottom elements:
- Letter P (extends to row 6)
- Letter Q (tail on row 6)
- Letter Y (tail on row 6)
- Exclamation
!(dot on row 6) - Question
?(dot on row 6)
⚡ Quick Tips
Section titled “⚡ Quick Tips”- Only uppercase: Use
.toUpperCase()on input - No spaces: Spaces aren’t rendered (yet)
- No numbers: Digits not implemented
- Six symbols only:
-,|,',",?,! - Fixed height: Always 7 rows
- Variable width: 1-5 columns per character
- Color by row: Rows 0-2,6 = PRIMARY; Rows 3-5 = SECONDARY
- Optimize output: Use
optimize: truefor smaller SVGs
📊 Character Set Summary
Section titled “📊 Character Set Summary”| Category | Count | Characters |
|---|---|---|
| Letters | 26 | A-Z |
| Symbols | 6 | -, |, ', ", ?, ! |
| Total | 32 | All supported glyphs |
🚀 One-Liner Examples
Section titled “🚀 One-Liner Examples”// LogoblockyTextToSVG('OPENCODE');
// Warcraft themeblockyTextToSVG('WARCRAFT');
// With punctuationblockyTextToSVG('WORK DONE!');
// QuestionsblockyTextToSVG('READY?');
// SeparatorsblockyTextToSVG('YES|NO');
// ContractionsblockyTextToSVG("IT'S DONE");
// RangesblockyTextToSVG('A-Z');📖 Full Documentation
Section titled “📖 Full Documentation”For complete details:
- README.md - Full overview
- COMPLETE-REFERENCE.md - All glyphs with ASCII grids & SVGs
- index.html - Interactive visual gallery
🎯 Common Use Cases
Section titled “🎯 Common Use Cases”| Use Case | Recommended Glyphs | Example |
|---|---|---|
| Logos | Letters only | OPENCODE |
| Headers | Letters + hyphen | A-Z GUIDE |
| Questions | Letters + ? | WHY? |
| Emphasis | Letters + ! | DONE! |
| Quotes | " + letters | "HELLO" |
| Lists | Letters + | | A|B|C |
| Contractions | Letters + ' | DON'T |
Need more info? See README.md for complete documentation.