Pretext @chenglou/pretext v1.0.0

Pure-math text measurement & 60fps obstacle reflow — zero DOM layout thrashing

Active Engine
Pretext
prepare() + layout()
Live Frame Rate
60 FPS
16.6 ms budget
250-Card Reflow
0.12 ms
0 total lines
Orb Obstacle Flow
0.08 ms
layoutNextLine()
Speedup vs DOM
—
measuring baseline…
250-CARD LAYOUT TIME (ms)
Pretext Native DOM 16.6ms 60fps line
Dynamic Obstacle Reflow layoutNextLine()
Orb (0, 0)
Drag the glowing orb anywhere — text streams around it per-line in pure arithmetic
250-Card Resize Benchmark Pretext Pure Math
Total H: 0px
360px