A new JS library just dropped yesterday that might change how we think about text layout on the web. 🔤 pretext : pure TypeScript, measures text with zero DOM reflow, zero getBoundingClientRect : zero layout thrashing. Just the browser's own font engine, exposed properly at last. To see what it unlocks, I built a playable DOOM-style ASCII dungeon in the browser on day one. 🎮 Every character placed with exact proportional width. Every frame. No CSS. No DOM reads. 🕹️ Play it: doom-pretext.netlify.app 📦 Try it: https://lnkd.in/g7qXYSAg Sometimes the most important foundational tools ship quietly. This one deserves more noise. #Frontend #WebDev #CreativeCoding #CSS #TextLayout #OpenSource #UIEngineering #Canvas #WebAnimation #Innovation

To view or add a comment, sign in

Explore content categories