Editorial Text Flow

Text reflows around floating orbs — both sides simultaneously. Pretext computes line geometry without DOM measurements.

How it works: For each line, calculate which horizontal intervals are blocked by orbs (using circle geometry). carveTextLineSlots subtracts blocked intervals from the column, returning one or more available slots. Text flows into every slot — wrapping on both sides of an obstacle. All computation is arithmetic, zero DOM reads.