mdp / qrterminal

QR Codes in your terminal
MIT License
442 stars 53 forks source link

Use quarter size ascii blocks (the conway's game of life type) #22

Closed coolaj86 closed 2 years ago

coolaj86 commented 2 years ago

You could use the "Conway's Game of Life" ASCII character set: https://en.wikipedia.org/wiki/Block_Elements#Compact_table

| ▌| ▐ | ▖ | ▗ | ▘ | ▙ | ▚ | ▛ | ▜ | ▝ | ▞ | ▟ | █ | ▄ | ▀ |
▐ ▖▗▘▙▚▛▜▝▞▟█▄▀▌
▐ ▖▗▘▙▚▛▜▝▞▟█▄▀▌

Note: the terminal won't have the gap.

coolaj86 commented 2 years ago

Turns out that double half and whole blocks are the solution, not the quarter blocks.