TGViewer
Startups & Ventures Startups & Ventures @tech · 2.14M subscribers
Post #3187 7.64K
🖥 Midjourney engineer open-sources Pretext for layout without CSS

A Midjourney engineer released Pretext, an open-source algorithm that handles text layout without CSS, DOM, or browser reflow. It computes layout directly with math instead of relying on traditional rendering pipelines.

This removes cascading styles and dependency chains, which often trigger heavy recalculations when content changes. The result is up to 500x faster layout in dynamic scenarios.

The approach fits emerging interfaces where content is generated on the fly, especially agent-driven UIs that rebuild structure step by step.

Layout is starting to move from browser logic into direct algorithms.

github.com/chenglou/pretext

📊 @tech
  • 🤩 63
  • 🤝 59
  • 🤯 58
  • 👌 55
  • 👏 53
  • 💔 48
  • 🙏 47
  • 💯 47
  • 👎 46
  • 😢 41
  • 😱 39
More from @tech
  1. Oct 16, 2026💻️ Micro Center Stops Selling RTX 5090 Micro Center changed the card’s status from “out o…
  2. Oct 15, 2026🤖 Anthropic Shows How to Build AI Agents Anthropic published a detailed guide to autonomo…
  3. Oct 15, 2026🔍 Google Launches Deep Review Multiple AI agents scan scientific and technical documents…
  4. Oct 15, 2026🤖 PhoneBot Uses a Smartphone as Its Brain The 48-centimeter robot costs about $400 withou…
  5. Oct 14, 2026🗣 Zuckerberg’s Guinness Face Goes Viral Video from yesterday’s Cheeky Pint podcast is alr…
  6. Oct 14, 2026🍏 Apple Builds a Connected Home Four LG cameras join a smart lock, 2 thermostats and sens…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →