Mitchell Hashimoto 2a29f71b2c draw octants directly rather than relying on font (#5433)
* implement `yQuads()` and `draw_octant()`, pretty obvious extensions of
existing code. to allocate up to 3 potential remainder lines, consider
that octants will often appear in a rectangular subset of the terminal.
we want the distributed excess uniformly distributed across such a
region. so:
* one excess row: break symmetry in any direction (pick an arbitrary
tetrad and use it everywhere)
  * two excess rows: go to alternating tetrads
* three excess rows: break symmetry, do not use three contiguous tetrads
* our `Octant`s are octary arrays of `bool`, provided as a somewhat
opaque constant table
* the 8-line copy-and-paste draw based on the `Octant` is not the
prettiest thing in the known universe
* we could generalize `draw_sextant()` and `draw_octant()` like
notcurses did, almost certainly
  * oh bird thou never wert
 

with that said, i don't think `draw_octant()` is actually being called
lol, so let's not merge this yet. happy to hear early feedback, though.
2025-02-13 09:21:11 -08:00
..
2025-02-12 22:16:33 -06:00
2024-03-26 16:14:25 -07:00
2025-02-12 22:16:33 -06:00
2024-08-16 10:49:37 -07:00
2025-01-18 22:47:18 +09:00
2024-06-24 15:16:24 -07:00
2025-02-11 16:43:50 -08:00
2024-09-26 22:00:11 -07:00
2024-10-18 08:11:11 -07:00
2025-01-24 13:48:30 -08:00
2024-08-16 14:35:10 -07:00
2022-08-18 11:42:32 -07:00
2025-02-03 15:06:59 -06:00
2024-08-16 10:36:10 -07:00