ui/build/norbius-strip/geometry
ui/build/norbius-strip/geometry
Type Aliases
NorbiusStripState
type NorbiusStripState = typeof NORBIUS_STRIP_STATES[number];Defined in: apps/website/.api-docs-entry/ui/build/norbius-strip/geometry.d.ts:11
Variables
NORBIUS_STRIP_STATES
const NORBIUS_STRIP_STATES: readonly ["ready", "working", "waiting", "done", "stopped", "error"];Defined in: apps/website/.api-docs-entry/ui/build/norbius-strip/geometry.d.ts:10
What the strip says, in the states a reader can actually act on.
ready, working and error are the original three. waiting, done and stopped exist
because the canonical Task lifecycle has six members and projecting them onto three told a lie
in two places: an agent parked on an approval rendered as an agent that had broken, and a
finished turn rendered as one that had never run.
norbiusStripGeometry
const norbiusStripGeometry: ConfirmationProps<BandSeed, NorbiusStripState>;Defined in: apps/website/.api-docs-entry/ui/build/norbius-strip/geometry.d.ts:42
Functions
bandFaces()
function bandFaces(seeds, state): readonly readonly [number, number, number, number][];Defined in: apps/website/.api-docs-entry/ui/build/norbius-strip/geometry.d.ts:41
The surface between the two edges, one quad per ring: [edge- at r, edge- at r+1, edge+ at r+1, edge+ at r].
On a Möbius band an edge returns as its mirror after one turn, so at the seam the edges swap; a flat ring closes onto itself.
Parameters
| Parameter | Type |
|---|---|
seeds |
BandSeed[] |
state |
"ready" | "error" | "working" | "waiting" | "done" | "stopped" |
Returns
readonly readonly [number, number, number, number][]
bandLayout()
function bandLayout(size): BandLayout;Defined in: apps/website/.api-docs-entry/ui/build/norbius-strip/geometry.d.ts:33
Rows of dots along the band, as many as the pixel pitch allows.
Below RIBBON_BELOW a faint ribbon is drawn under the dots, and the band is exaggerated to be
read at that size: a third wider, seen a touch more from above so the loop closes visibly, and
with only a few rows so each one resolves.
Parameters
| Parameter | Type |
|---|---|
size |
number |
Returns
BandLayout