Skip to content

feat(tui): fit the ASCII emblems to the club logo - #100

Open
m1ngsama wants to merge 3 commits into
mainfrom
feat/ascii-emblem-redo
Open

m1ngsama wants to merge 3 commits into
mainfrom
feat/ascii-emblem-redo

Conversation

@m1ngsama

@m1ngsama m1ngsama commented Oct 30, 2026 •

Copy link
Copy Markdown
Member

The ASCII emblems did not look like the club logo. They were derived from the Braille badge by averaging brightness, which blurred the eyes, and the small one was a hand-drawn smiley.

scripts/generate-emblems.mjs now starts from the logo itself (scripts/emblem-face.svg, the face without the lettered band). It thins the strokes to line art, then picks, for every cell, the character that brings the blurred rendering of the whole grid closest to the blurred line art, so strokes continue across cells. Glyphs are rendered from JetBrains Mono, as in scripts/generate-glyphs.mjs. Only the pupils may use @, and the face is weighted three times as much as the rings. The large emblem also writes the logo's lettered band: "Computer Association of NBT" along the top and the tagline along the bottom. Each word is a straight run of upright letters (horizontal, diagonal, or vertical, whichever drifts least from the band), so words stay whole. These cells are fixed first and the rings are fitted around them.

File Size Rings
ascii-emblem-large.txt 56 × 26 outer, inner
ascii-emblem-medium.txt 40 × 19 outer, inner
ascii-emblem-small.txt 26 × 12 outer
ascii-emblem-tiny.txt 20 × 9 outer

The medium emblem now fits an 80 × 24 terminal. ascii-logo.txt is gone: below 14 rows the startup writes plain NBTCA, and Unicode terminals that cannot fit a Braille badge fall back to these emblems. scripts/generate-art.mjs no longer generates emblems.

Validation: npm run check passes except npm audit, which already fails on main for vite 6.4.4 (GHSA-8g5g-mxqh-grgj). Checked in a pseudoterminal at 80×40, 80×24, 80×17, and 80×14 with LANG=C.

@m1ngsama
m1ngsama force-pushed the feat/ascii-emblem-redo branch from e815212 to 5a0a749 Compare October 30, 2026 03:34
@m1ngsama m1ngsama changed the title feat(tui): redraw the ASCII emblems from their strokes feat(tui): fit the ASCII emblems to the club logo Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant