Last active
February 2, 2026 04:35
-
-
Save m1lkweed/0c36206a0f4871fadd49b0aba8fa4448 to your computer and use it in GitHub Desktop.
Array of unicode half/quarter/quadrant/eighth/octet characters and braille characters as strings, sanely indexed for terminal pseudographics
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Not sure this can be copyrighted, but if so: | |
| // (c) m1lkweed, 2026, licensed under cc0 where required | |
| // Dedicated to the public domain | |
| typeof(const char[5]) pixels[256] = { | |
| "⠀", "", "", "🮂", "", "▘", "", "", "", "", "▝", "", "", "", "", "▀", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "🮅", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "▖", "", "", "", "", "▌", "", "", "", "", "▞", "", "", "", "", "▛", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "▗", "", "", "", "", "▚", "", "", "", "", "▐", "", "", "", "", "▜", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "▂", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", | |
| "▄", "", "", "", "", "▙", "", "", "", "", "▟", "", "▆", "", "", "█" | |
| }; | |
| typeof(const char[5]) braille[256] = { | |
| "⠀", "⠁", "⠈", "⠉", "⠂", "⠃", "⠊", "⠋", "⠐", "⠑", "⠘", "⠙", "⠒", "⠓", "⠚", "⠛", | |
| "⠄", "⠅", "⠌", "⠍", "⠆", "⠇", "⠎", "⠏", "⠔", "⠕", "⠜", "⠝", "⠖", "⠗", "⠞", "⠟", | |
| "⠠", "⠡", "⠨", "⠩", "⠢", "⠣", "⠪", "⠫", "⠰", "⠱", "⠸", "⠹", "⠲", "⠳", "⠺", "⠻", | |
| "⠤", "⠥", "⠬", "⠭", "⠦", "⠧", "⠮", "⠯", "⠴", "⠵", "⠼", "⠽", "⠶", "⠷", "⠾", "⠿", | |
| "⡀", "⡁", "⡈", "⡉", "⡂", "⡃", "⡊", "⡋", "⡐", "⡑", "⡘", "⡙", "⡒", "⡓", "⡚", "⡛", | |
| "⡄", "⡅", "⡌", "⡍", "⡆", "⡇", "⡎", "⡏", "⡔", "⡕", "⡜", "⡝", "⡖", "⡗", "⡞", "⡟", | |
| "⡠", "⡡", "⡨", "⡩", "⡢", "⡣", "⡪", "⡫", "⡰", "⡱", "⡸", "⡹", "⡲", "⡳", "⡺", "⡻", | |
| "⡤", "⡥", "⡬", "⡭", "⡦", "⡧", "⡮", "⡯", "⡴", "⡵", "⡼", "⡽", "⡶", "⡷", "⡾", "⡿", | |
| "⢀", "⢁", "⢈", "⢉", "⢂", "⢃", "⢊", "⢋", "⢐", "⢑", "⢘", "⢙", "⢒", "⢓", "⢚", "⢛", | |
| "⢄", "⢅", "⢌", "⢍", "⢆", "⢇", "⢎", "⢏", "⢔", "⢕", "⢜", "⢝", "⢖", "⢗", "⢞", "⢟", | |
| "⢠", "⢡", "⢨", "⢩", "⢢", "⢣", "⢪", "⢫", "⢰", "⢱", "⢸", "⢹", "⢲", "⢳", "⢺", "⢻", | |
| "⢤", "⢥", "⢬", "⢭", "⢦", "⢧", "⢮", "⢯", "⢴", "⢵", "⢼", "⢽", "⢶", "⢷", "⢾", "⢿", | |
| "⣀", "⣁", "⣈", "⣉", "⣂", "⣃", "⣊", "⣋", "⣐", "⣑", "⣘", "⣙", "⣒", "⣓", "⣚", "⣛", | |
| "⣄", "⣅", "⣌", "⣍", "⣆", "⣇", "⣎", "⣏", "⣔", "⣕", "⣜", "⣝", "⣖", "⣗", "⣞", "⣟", | |
| "⣠", "⣡", "⣨", "⣩", "⣢", "⣣", "⣪", "⣫", "⣰", "⣱", "⣸", "⣹", "⣲", "⣳", "⣺", "⣻", | |
| "⣤", "⣥", "⣬", "⣭", "⣦", "⣧", "⣮", "⣯", "⣴", "⣵", "⣼", "⣽", "⣶", "⣷", "⣾", "⣿" | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment