Webe Tori Model 01-05 ✦ Certified

// 2️⃣ Add a few cards positioned around the torus const data = [ title: 'Welcome', subtitle: 'WebE Tori 01‑05' , title: 'Features', subtitle: 'Parametric Layout' , title: 'Docs', subtitle: 'Read the manual' , title: 'Marketplace', subtitle: 'Install components' , ];

const card = new Card( theta, phi, width: 300, height: 200, content: ` <h2>$item.title</h2> <p>$item.subtitle</p> `, // Theme tokens can be overridden per component style: background: 'var(--color-surface)' , ); webe tori model 01-05

| Test | #Elements | Avg. FPS (GPU) | Avg. CPU % | Memory (MB) | Comments | |------|-----------|----------------|------------|-------------|----------| | Simple card carousel (12 cards) | 12 | | 2 % | 38 | Baseline – negligible load. | | Large dashboard (4 200 tiles, each with sparkline) | 4 200 | 61 | 8 % | 212 | GPU‑solver kept frame time < 16 ms. | | AR overlay (180 objects, depth‑sorting) | 180 | 78 | 5 % | 65 | GPU‑based depth‑sort handled 60 Hz head‑tracking. | | Accessibility‑only mode (CPU fallback) | 1 200 | 32 | 14 % | 96 | Acceptable for low‑end devices; auto‑fallback triggered. | // 2️⃣ Add a few cards positioned around

Keep a dual‑bundle during transition ( @webe/tori/legacy ) and gradually replace legacy components. The runtime detects mixed‑mode usage and logs helpful warnings. 7. Performance Benchmarks All tests were run on a MacBook Pro M2 , Chrome 124, with the Chrome DevTools tori‑panel active. | | Large dashboard (4 200 tiles, each

import createTorusApp, Card, warp from '@webe/tori'; import './styles.css';

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>WebE Tori 01‑05 Demo</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div id="root"></div> <script type="module" src="/src/index.ts"></script> </body> </html> A set of cards orbit a virtual torus, seamlessly wrapping when you resize the browser or rotate a mobile device. 5. Real‑World Use‑Cases | Domain | Example Project | How 01‑05 Helps | |--------|----------------|-----------------| | Financial Dashboards | QuantPulse – a live‑updating market‑data wall with 5 000+ tickers. | Lazy‑load slices keep the DOM light; GPU‑solver guarantees < 16 ms frame times even when each ticker animates a sparkline. | | E‑Commerce | ShopLoop – infinite‑loop product carousel that never “ends”. | Torus‑warp replaces the usual duplication trick, delivering a true infinite loop with a single set of nodes. | | AR/VR Interfaces | HoloNav – a mixed‑reality navigation UI that surrounds the user. | The parametric engine can output stereoscopic projection matrices , and the curvature token maps directly to headset FOV. | | Education & Simulations | MathLab – interactive visualisations of 3‑D manifolds. | The torus core is the geometry; students can drag points on the surface and watch the layout recompute instantly. | | Accessibility‑First Portals | InclusiveNews – a news portal where keyboard navigation wraps around sections. | A‑Tori gives screen readers a logical “next” and “previous” order that respects the torus topology. | 6. Migration Path from Earlier Versions | From → To | Breaking Changes | Migration Aids | |-----------|------------------|----------------| | 01‑03 → 01‑04 | warp() now requires an explicit axis argument; old signature deprecated. | npx webe-tori codemod warp-rename auto‑updates call‑sites. | | 01‑04 → 01‑05 | The theme.curvature token moved from global to layout scope; default changed from 0.6 to 0.8 . | tori‑config migrate --from 01.04 --to 01.05 writes a diff you can review. | | Any ≤01‑02 → 01‑05 | The PLE API ( addNode , removeNode ) is now component‑first ; you must wrap raw DOM nodes in ToriComponent . | The CLI prints a migration checklist and scaffolds wrapper classes. |