@@ -15,22 +15,22 @@ import { fileURLToPath } from 'url';
1515const __dirname = path . dirname ( fileURLToPath ( import . meta. url ) ) ;
1616
1717// ── Layout constants ───────────────────────────────────────────
18- const W = 720 ;
19- const H = 640 ; // tall enough for banner + pull output + push output
20- const LINE_H = 20 ;
21- const PAD_X = 18 ;
22- const PAD_Y = 18 ;
23- const FONT = '13px "Courier New", monospace' ;
18+ const W = 760 ;
19+ const H = 680 ; // tall enough for banner + pull output + push output
20+ const LINE_H = 22 ;
21+ const PAD_X = 20 ;
22+ const PAD_Y = 20 ;
23+ const FONT = 'bold 15px "Courier New", monospace' ;
2424
2525// ── Palette ────────────────────────────────────────────────────
2626const BG = '#0d1117' ;
27- const FG = '#c9d1d9 ' ;
28- const CYAN = '#56b6c2 ' ;
29- const DARK_GRAY = '#484f58 ' ;
30- const YELLOW = '#e3b341 ' ;
31- const GREEN = '#3fb950 ' ;
27+ const FG = '#ffffff ' ;
28+ const CYAN = '#00e5ff ' ;
29+ const DARK_GRAY = '#6e7681 ' ;
30+ const YELLOW = '#ffd700 ' ;
31+ const GREEN = '#00ff88 ' ;
3232const WHITE = '#ffffff' ;
33- const PICK_BG = '#1f6e79 ' ;
33+ const PICK_BG = '#005f73 ' ;
3434
3535// ── Measure monospace char width once ─────────────────────────
3636const _mc = createCanvas ( 20 , 20 ) ;
@@ -41,7 +41,8 @@ const CW = _mx.measureText('M').width;
4141// ── Helpers ────────────────────────────────────────────────────
4242function makeCanvas ( ) {
4343 const c = createCanvas ( W , H ) ;
44- const ctx = c . getContext ( '2d' ) ;
44+ const ctx = c . getContext ( '2d' , { antialias : 'none' } ) ;
45+ ctx . antialias = 'none' ;
4546 ctx . fillStyle = BG ;
4647 ctx . fillRect ( 0 , 0 , W , H ) ;
4748 ctx . font = FONT ;
@@ -112,7 +113,7 @@ fs.mkdirSync(path.dirname(OUTPUT), { recursive: true });
112113
113114const encoder = new GIFEncoder ( W , H , 'neuquant' , true ) ;
114115encoder . setRepeat ( 0 ) ;
115- encoder . setQuality ( 10 ) ;
116+ encoder . setQuality ( 1 ) ;
116117encoder . start ( ) ;
117118
118119function frame ( fn , delay = 80 ) {
0 commit comments