OKLab 64³ · preserves hue · masks photos <75%
Ghostty & Rex · Kitty Graphics

Papers that belong
in terminal glass.

Pixel-exact arXiv PDFs and live LaTeX in your terminal theme. A 64³ OKLab transfer maps paper to dark glass while plots preserve hue and embedded photos stay masked.

02 · Odd/Even Auto-Crop & Split

Strip the margins. Keep every symbol.

Watch the vertical arXiv stamp slide away as auto-crop trims 26% horizontal whitespace to fill a narrow terminal split.

03 · Pixel Region Agent Handoff

Drag an equation. Paste exact pixels.

Hoja writes a crisp 2× paper-ink PNG and copies its path via OSC 52. Paste it straight into your coding agent pane.

hoja 2611.00402fx · transformer
Ghostty · split 1/2
AUTO-CROP −25.9% margin · arXiv stamp strippedfit-w · 148%
2611.00402.pdf   p 1/1   148%   [fit-w|crop|theme]/: find · o: outline · y/drag: agent
fx · coding agent~/src/transformer · main
› Opened src/attention.rs (142 lines)
src/attention.rsrust
pub fn scaled_dot_product(q, k, v) {
  let d_k = k.dim(-1) as f32;
  // TODO: verify scaling against Eq (1)
  q.matmul(&k.t()).div(d_k.sqrt()).softmax(-1).matmul(v)
}
› Drag a region on the left pane to copy a 2× PNG path
fx · coding agentCmd+V path pasted
1 Select region2 Copy path (OSC 52)3 Paste into agent
› Pasted image path:
~/.cache/hoja/handoff/1764389120-p1/region.png
Example agent transcriptionEquation (1)
\operatorname{Attention}(Q, K, V) =
  \operatorname{softmax}\!\left(\frac{Q K^\top}{\sqrt{d_k}}\right) V
sample-math.mdsaved · recompiled
Markdown + LaTeX bufferfixtures/sample-math.md
# Attention Notes
Scaled dot-product attention maps $Q \in \mathbb{R}^{n \times d_k}$:
$$\operatorname{Attention}(Q, K, V) = \operatorname{softmax}\!\left(\frac{QK^T}{\sqrt{d_k}}\right) V$$
## Multi-Head Attention
Paper · L 1.00OKLab Theme · #18181b
src/recolor.rs · drag or scroll to scrub OKLab transfer
hoja

Read papers where you write code.