application molecule in prysm
the aip icon in the top-left corner of prysm/grid (inside prysm/context zone). by default shows the active application icon. tap opens a dropdown menu listing available applications — each item is an icon + text label. menu extends down from the icon, max length to the middle of the screen
protocol role
aip is a molecule in the element tree $\mathcal{T}$. lives inside prysm/context zone. the icon is always visible. the menu is an overlay at $\mathcal{U} = 30$ (interrupting)
sizing
| element | sizing |
|---|---|
| icon (collapsed) | fix($4gMATH_PLACEHOLDER_24g$) |
| menu (expanded) | fix($25g$) × auto, max height = $\square_h / 2$ |
$s_{min} = (4g, 4g)$ — icon only
structure
collapsed (default):
ion [4g, active aip icon]
expanded (on tap):
glass [fix(25g) × auto, depth foreground, max height square_h/2, overflow scroll]
stack vertical [gap g/2]
stack horizontal [gap g]
ion [2g, oracle icon]
text [body, "Oracle"]
stack horizontal [gap g]
ion [2g, brain icon]
text [body, "Brain"]
stack horizontal [gap g]
ion [2g, portal icon]
text [body, "Portal"]
stack horizontal [gap g]
ion [2g, sense icon]
text [body, "Sense"]
stack horizontal [gap g]
ion [2g, sigma icon]
text [body, "Sigma"]
...
fold
aip does not fold — icon is always $4g$ × $4g$. menu appears/disappears, does not fold
emotion
active aip icon can carry emotion reflecting the aip's state (e.g. sense icon glows when unread messages). inactive items in menu are neutral
states
| state | visual | trigger |
|---|---|---|
| collapsed | icon only | default |
| expanded | menu drops down from icon | tap on icon |
| hover (menu item) | item text brightens | pointer over item |
| active (menu item) | navigate to selected aip | tap on item |
state transitions: menu slide down $150\text{ms}$ ease
interaction
- tap icon → toggle menu (expand/collapse)
- tap menu item → navigate to that aip, menu closes
- tap outside menu → close menu
- active aip is highlighted in menu list
where in prysm/grid
inside prysm/context zone (row 1, col 1). icon is part of context. menu is overlay at z: 30, drops down from context zone
3D
icon renders at frame $p_z$ ($\mathcal{U} = 10$). menu renders at interrupting $p_z$ ($\mathcal{U} = 30$) — closer to neuron than frame
ECS
- Entity: aip organelle
- Components:
Sizing { width: Fix(4), height: Fix(4) }— iconAipList { list of (aip_id, icon, label) }— available applicationsActiveAip { aip_id }— currently activeVisibility { collapsed | expanded }— menu stateEmotion { color }— from active aip state
- Systems:
AipMenuSystemhandles tap to toggle, tap on item to navigateAipEmotionSystemreads aip states, writes icon emotion