layout
Sizes the wave preview for the screen it is on. `compute(w, h, safe, touch)` returns the usable width and height inside the safe area, a margin, `compact` (under 760 x 460 points), `tiny` (under 440 wide), `portrait`, a scale and whether buttons must be touch-sized; `measure()` d…
wavePreviewKit.layout
Sizes the wave preview for the screen it is on. compute(w, h, safe, touch) returns the usable width and height inside the safe area, a margin, compact (under 760 x 460 points), tiny (under 440 wide), portrait, a scale and whether buttons must be touch-sized; measure() does the same for the live screen. root(layout, anchor, panel, offset) wraps a panel in a transparent full-screen root that pins it to one of eight anchors and takes no pointer itself. Used by the api, the styles and the tests.
Scoped to this part · feeds back into the world's score.