You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TrailView phone tier: one budget table, tier=phone and the values of preset P #3777
Goal: TrailView takes its sizes from one budget table with a desktop tier and a phone tier. tier=phone in the address chooses the phone tier, which has the values of preset P that have an effect. The desktop tier keeps today's values. Systems: trailview, trailview-page Size: M (2 systems, about a dozen modules read the table)
Plan
budget.ts (new): the type Tier (desktop, phone), the interface Budget (one field per row of the epic's tables) and BUDGETS. The desktop values are today's constants. The phone values are those of P that have an effect: the share of the terrain pages 0.5 (applied as pool is today, after the masks come out), 64 ground pages, 30 fps, and the loads in flight: terrain pages 6 → 3, ground pages 4 → 2, houses 6 → 3, stamps 8 → 4, canopy 9 → 5.
view.ts: tierOf(search) gives phone for tier=phone, else desktop. Read once, as scale is. poolOf and the address option pool go: the tier takes their place.
engine.ts: TrailView.start takes tier in place of pool, and gives BUDGETS[tier] to each part that reads a row (step 4).
src/trailview.ts reads tierOf and passes it. The parameter table of lib/trailview/README.md gets tier.
The gallery of the visible cuts: terrain pages × 0.5, 64 ground pages (the epic's "The galleries"). The one-cut renders come from a local edit of BUDGETS.desktop that is never committed.
After the merge: the prototype branch prototype/trailview-ios-app merges develop, and the kit's variant p becomes tier=phone. The kit's zoom-out starts above the ground: its alt=1500 (from flights.json) lies under the slope, where the ground is 2,292 m.
Gallery of the visible cuts (PR #3781): approved by the owner.
The owner's words: "yes post it, approved".
The gallery: 6 scenes (the starts of walk, valley drive, zoom-out at 2,600 m, bridge and tunnel, and far views north from 4,000 m and south from 3,800 m), headless Chromium on Metal at 780 × 1688. Terrain pages × 0.5, 64 ground pages and the whole phone tier each stay at the noise floor of two desktop renders: no start view fills half the terrain pool (at most 283 + 75 of 404 + 140 pages), and the 17 to 44 far ground pages that 64 pages leave out draw from their cover, at most 9/255 apart.
Activity
timohueser commentedon Nov 21, 2026
Gallery of the visible cuts (PR #3781): approved by the owner.
The owner's words: "yes post it, approved".
The gallery: 6 scenes (the starts of walk, valley drive, zoom-out at 2,600 m, bridge and tunnel, and far views north from 4,000 m and south from 3,800 m), headless Chromium on Metal at 780 × 1688. Terrain pages × 0.5, 64 ground pages and the whole phone tier each stay at the noise floor of two desktop renders: no start view fills half the terrain pool (at most 283 + 75 of 404 + 140 pages), and the 17 to 44 far ground pages that 64 pages leave out draw from their cover, at most 9/255 apart.
Posted by Claude Code for the owner.