mirror of
https://github.com/skoelle/28k8-moonweb-org.git
synced 2026-09-17 18:30:24 +00:00
11 lines
541 B
Python
11 lines
541 B
Python
"""tools/generate_ansi.py - starting point / font reference for src/lib/ansiArt.ts.
|
|
See SPEC.md section 9 for why precomputed HTML is used instead of a live ANSI parser."""
|
|
FONT = {
|
|
'A': [".###.","#...#","#...#","#####","#...#","#...#","#...#"],
|
|
'B': ["####.","#...#","#...#","####.","#...#","#...#","####."],
|
|
'S': [".####","#....","#....",".###.","....#","....#","####."],
|
|
' ': ["....." for _ in range(7)],
|
|
}
|
|
if __name__ == "__main__":
|
|
print("Reference font + starting point. Full logic documented in SPEC.md/PLAN.md.")
|