@almadar/std 16.241.0 → 16.242.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/behaviors/behaviors-registry.json +4650 -535
- package/behaviors/lolo/agent/atoms/std-agent-memory.lolo +38 -1
- package/behaviors/lolo/agent/atoms/std-agent-session.lolo +1074 -47
- package/behaviors/lolo/agent/atoms/std-agent-tool-loop.lolo +8 -7
- package/behaviors/lolo/agent/organisms/std-agent-assistant.lolo +56 -37
- package/behaviors/lolo/infra/atoms/std-page-open.lolo +59 -0
- package/behaviors/lolo/infra/atoms/std-page-search.lolo +134 -0
- package/behaviors/lolo/infra/atoms/std-page-treat.lolo +59 -0
- package/behaviors/lolo/infra/atoms/std-page-watch.lolo +86 -0
- package/behaviors/lolo/ui/core/atoms/std-book-reader.lolo +25 -1
- package/behaviors/lolo/ui/core/atoms/std-card-grid.lolo +9 -0
- package/behaviors/lolo/ui/core/atoms/std-doc-page.lolo +153 -0
- package/behaviors/lolo/ui/learning/atoms/std-learn-arrangement.lolo +124 -92
- package/behaviors/lolo/ui/learning/atoms/std-learn-classify.lolo +114 -55
- package/behaviors/lolo/ui/learning/atoms/std-learn-compare.lolo +40 -14
- package/behaviors/lolo/ui/learning/atoms/std-learn-coupled-sim.lolo +363 -123
- package/behaviors/lolo/ui/learning/atoms/std-learn-derivation.lolo +93 -48
- package/behaviors/lolo/ui/learning/atoms/std-learn-diagram.lolo +60 -28
- package/behaviors/lolo/ui/learning/atoms/std-learn-doser.lolo +193 -96
- package/behaviors/lolo/ui/learning/atoms/std-learn-estimate.lolo +75 -32
- package/behaviors/lolo/ui/learning/atoms/std-learn-goal-seek.lolo +142 -86
- package/behaviors/lolo/ui/learning/atoms/std-learn-grid-sim.lolo +266 -98
- package/behaviors/lolo/ui/learning/atoms/std-learn-hotspot.lolo +103 -65
- package/behaviors/lolo/ui/learning/atoms/std-learn-live-sim.lolo +223 -109
- package/behaviors/lolo/ui/learning/atoms/std-learn-measure.lolo +232 -64
- package/behaviors/lolo/ui/learning/atoms/std-learn-param-explorer.lolo +69 -29
- package/behaviors/lolo/ui/learning/atoms/std-learn-perturb.lolo +363 -123
- package/behaviors/lolo/ui/learning/atoms/std-learn-predict.lolo +73 -41
- package/behaviors/lolo/ui/learning/atoms/std-learn-sample-accumulator.lolo +96 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-sandbox.lolo +65 -45
- package/behaviors/lolo/ui/learning/atoms/std-learn-scatter-fit.lolo +243 -117
- package/behaviors/lolo/ui/learning/atoms/std-learn-scenario.lolo +76 -28
- package/behaviors/lolo/ui/learning/atoms/std-learn-sim-3d.lolo +228 -109
- package/behaviors/lolo/ui/learning/atoms/std-learn-speed-drill.lolo +95 -44
- package/behaviors/lolo/ui/learning/atoms/std-learn-stepper.lolo +199 -125
- package/behaviors/lolo/ui/learning/atoms/std-learn-tour-3d.lolo +92 -48
- package/behaviors/lolo/ui/learning/atoms/std-learn-trace-player.lolo +239 -78
- package/behaviors/lolo/ui/learning/atoms/std-learn-transport.lolo +147 -38
- package/behaviors/lolo/ui/learning/atoms/std-learn-tree.lolo +123 -58
- package/behaviors/lolo/ui/learning/atoms/ui-algo-graph-canvas.lolo +22 -0
- package/behaviors/lolo/ui/learning/atoms/ui-algorithm-canvas.lolo +26 -0
- package/behaviors/lolo/ui/learning/atoms/ui-biology-canvas.lolo +26 -0
- package/behaviors/lolo/ui/learning/atoms/ui-chemistry-canvas.lolo +27 -1
- package/behaviors/lolo/ui/learning/atoms/ui-learning-canvas.lolo +27 -1
- package/behaviors/lolo/ui/learning/atoms/ui-math-canvas.lolo +29 -9
- package/behaviors/lolo/ui/learning/atoms/ui-physics-canvas.lolo +26 -0
- package/behaviors/lolo-behavior-contracts.json +1 -1
- package/behaviors/registry/agent/atoms/std-agent-memory.orb +372 -2
- package/behaviors/registry/agent/atoms/std-agent-session.orb +4752 -348
- package/behaviors/registry/agent/atoms/std-agent-tool-loop.orb +54 -42
- package/behaviors/registry/agent/organisms/std-agent-assistant.orb +356 -122
- package/behaviors/registry/factory-signatures.json +1 -1
- package/behaviors/registry/infra/atoms/std-page-open.orb +435 -0
- package/behaviors/registry/infra/atoms/std-page-search.orb +867 -0
- package/behaviors/registry/infra/atoms/std-page-treat.orb +494 -0
- package/behaviors/registry/infra/atoms/std-page-watch.orb +554 -0
- package/behaviors/registry/ui/core/atoms/std-book-reader.orb +119 -0
- package/behaviors/registry/ui/core/atoms/std-card-grid.orb +61 -0
- package/behaviors/registry/ui/core/atoms/std-doc-page.orb +594 -0
- package/behaviors/registry/ui/learning/atoms/std-learn-arrangement.orb +903 -369
- package/behaviors/registry/ui/learning/atoms/std-learn-classify.orb +1002 -232
- package/behaviors/registry/ui/learning/atoms/std-learn-compare.orb +253 -74
- package/behaviors/registry/ui/learning/atoms/std-learn-coupled-sim.orb +3624 -921
- package/behaviors/registry/ui/learning/atoms/std-learn-derivation.orb +685 -144
- package/behaviors/registry/ui/learning/atoms/std-learn-diagram.orb +404 -52
- package/behaviors/registry/ui/learning/atoms/std-learn-doser.orb +1787 -210
- package/behaviors/registry/ui/learning/atoms/std-learn-estimate.orb +699 -71
- package/behaviors/registry/ui/learning/atoms/std-learn-goal-seek.orb +1102 -578
- package/behaviors/registry/ui/learning/atoms/std-learn-grid-sim.orb +2760 -872
- package/behaviors/registry/ui/learning/atoms/std-learn-hotspot.orb +689 -152
- package/behaviors/registry/ui/learning/atoms/std-learn-live-sim.orb +1431 -633
- package/behaviors/registry/ui/learning/atoms/std-learn-measure.orb +2485 -512
- package/behaviors/registry/ui/learning/atoms/std-learn-param-explorer.orb +501 -197
- package/behaviors/registry/ui/learning/atoms/std-learn-perturb.orb +3642 -928
- package/behaviors/registry/ui/learning/atoms/std-learn-predict.orb +705 -125
- package/behaviors/registry/ui/learning/atoms/std-learn-sample-accumulator.orb +624 -114
- package/behaviors/registry/ui/learning/atoms/std-learn-sandbox.orb +405 -153
- package/behaviors/registry/ui/learning/atoms/std-learn-scatter-fit.orb +1911 -611
- package/behaviors/registry/ui/learning/atoms/std-learn-scenario.orb +436 -128
- package/behaviors/registry/ui/learning/atoms/std-learn-sim-3d.orb +2482 -485
- package/behaviors/registry/ui/learning/atoms/std-learn-speed-drill.orb +896 -192
- package/behaviors/registry/ui/learning/atoms/std-learn-stepper.orb +2001 -759
- package/behaviors/registry/ui/learning/atoms/std-learn-tour-3d.orb +734 -228
- package/behaviors/registry/ui/learning/atoms/std-learn-trace-player.orb +2501 -764
- package/behaviors/registry/ui/learning/atoms/std-learn-transport.orb +1591 -173
- package/behaviors/registry/ui/learning/atoms/std-learn-tree.orb +883 -122
- package/behaviors/registry/ui/learning/atoms/ui-algo-graph-canvas.orb +176 -0
- package/behaviors/registry/ui/learning/atoms/ui-algorithm-canvas.orb +211 -0
- package/behaviors/registry/ui/learning/atoms/ui-biology-canvas.orb +211 -0
- package/behaviors/registry/ui/learning/atoms/ui-chemistry-canvas.orb +212 -1
- package/behaviors/registry/ui/learning/atoms/ui-learning-canvas.orb +212 -1
- package/behaviors/registry/ui/learning/atoms/ui-math-canvas.orb +203 -9
- package/behaviors/registry/ui/learning/atoms/ui-physics-canvas.orb +211 -0
- package/behaviors/signatures.lolo +325 -655
- package/dist/behaviors/exports-reader.js +16092 -9747
- package/dist/behaviors/functions/index.d.ts +1052 -136
- package/dist/behaviors/functions/index.js +16063 -9745
- package/dist/behaviors/index.d.ts +1 -1
- package/dist/behaviors/index.js +16093 -9748
- package/dist/behaviors/query.js +16092 -9747
- package/dist/behaviors-embeddings.hash.json +3 -3
- package/dist/behaviors-embeddings.json +45 -25
- package/dist/behaviors-registry.json +4650 -535
- package/dist/index.d.ts +1 -1
- package/dist/index.js +16093 -9748
- package/dist/knob-embeddings.hash.json +3 -3
- package/dist/knob-embeddings.json +607 -263
- package/dist/registry/factory-signatures.json +1 -1
- package/package.json +3 -3
|
@@ -20,6 +20,7 @@ orbital PerturbOrbital {
|
|
|
20
20
|
setpoint : number = 0
|
|
21
21
|
rate : number = 0
|
|
22
22
|
running : boolean = false
|
|
23
|
+
speed : number = 1
|
|
23
24
|
traceSamples : [PerturbSample]
|
|
24
25
|
curves : [PerturbCurve]
|
|
25
26
|
}
|
|
@@ -46,29 +47,50 @@ orbital PerturbOrbital {
|
|
|
46
47
|
padding: md
|
|
47
48
|
children: [
|
|
48
49
|
{ type: stack, direction: vertical, gap: md, children: [
|
|
49
|
-
{ type:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
{ type:
|
|
50
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
51
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
52
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
53
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
54
|
+
] },
|
|
55
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
56
|
+
] },
|
|
57
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
58
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
59
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
55
60
|
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
56
|
-
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm }
|
|
61
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
62
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
63
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
64
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
65
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
66
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
67
|
+
] },
|
|
68
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
57
69
|
] },
|
|
58
|
-
{ type:
|
|
59
|
-
|
|
60
|
-
{ type:
|
|
70
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
71
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
72
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
73
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
74
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
75
|
+
] },
|
|
76
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
77
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
78
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
79
|
+
] }
|
|
61
80
|
] },
|
|
62
81
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
63
|
-
{ type: typography, variant:
|
|
64
|
-
{ type:
|
|
65
|
-
] }
|
|
66
|
-
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false },
|
|
67
|
-
{ type: typography, variant: body, content: (str/concat "t = " (math/round @entity.t 1) " · " @config.valueLabel " = " (math/round @entity.value 2) " · deviation: " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
82
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
83
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
84
|
+
] }
|
|
68
85
|
] }
|
|
69
86
|
]
|
|
70
87
|
})
|
|
71
88
|
|
|
89
|
+
MODE_SELECTED -> idle when (and (not (== @config.matchMode "")) (not (== ?mode @config.matchMode)))
|
|
90
|
+
(set @entity.active false)
|
|
91
|
+
(set @entity.running false)
|
|
92
|
+
(render-ui main null)
|
|
93
|
+
|
|
72
94
|
MODE_SELECTED -> idle when (== ?mode @config.matchMode)
|
|
73
95
|
(set @entity.active true)
|
|
74
96
|
(set @entity.title @config.title)
|
|
@@ -87,25 +109,134 @@ orbital PerturbOrbital {
|
|
|
87
109
|
padding: md
|
|
88
110
|
children: [
|
|
89
111
|
{ type: stack, direction: vertical, gap: md, children: [
|
|
90
|
-
{ type:
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
{ type:
|
|
112
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
113
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
114
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
115
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
116
|
+
] },
|
|
117
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
118
|
+
] },
|
|
119
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
120
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
121
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
96
122
|
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
97
|
-
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm }
|
|
123
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
124
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
125
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
126
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
127
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
128
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
129
|
+
] },
|
|
130
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
131
|
+
] },
|
|
132
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
133
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
134
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
135
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
136
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
137
|
+
] },
|
|
138
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
139
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
140
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
141
|
+
] }
|
|
98
142
|
] },
|
|
99
143
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
100
|
-
{ type: typography, variant:
|
|
101
|
-
{ type:
|
|
144
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
145
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
146
|
+
] }
|
|
147
|
+
] }
|
|
148
|
+
]
|
|
149
|
+
})
|
|
150
|
+
|
|
151
|
+
TOGGLE_RUN -> idle when (and (== @entity.active true) (or (== @entity.running true) (< @entity.t @config.duration)))
|
|
152
|
+
(set @entity.running (not @entity.running))
|
|
153
|
+
(render-ui main {
|
|
154
|
+
type: box
|
|
155
|
+
padding: md
|
|
156
|
+
children: [
|
|
157
|
+
{ type: stack, direction: vertical, gap: md, children: [
|
|
158
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
159
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
160
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
161
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
162
|
+
] },
|
|
163
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
164
|
+
] },
|
|
165
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
166
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
167
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
168
|
+
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
169
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
170
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
171
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
172
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
173
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
174
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
175
|
+
] },
|
|
176
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
177
|
+
] },
|
|
178
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
179
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
180
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
181
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
182
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
183
|
+
] },
|
|
184
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
185
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
186
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
187
|
+
] }
|
|
102
188
|
] },
|
|
103
189
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
104
|
-
{ type: typography, variant:
|
|
105
|
-
{ type:
|
|
190
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
191
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
192
|
+
] }
|
|
193
|
+
] }
|
|
194
|
+
]
|
|
195
|
+
})
|
|
196
|
+
(emit RUN_TOGGLED { running: @entity.running })
|
|
197
|
+
|
|
198
|
+
SPEED_SET -> idle when (== @entity.active true)
|
|
199
|
+
(set @entity.speed ?speed)
|
|
200
|
+
(render-ui main {
|
|
201
|
+
type: box
|
|
202
|
+
padding: md
|
|
203
|
+
children: [
|
|
204
|
+
{ type: stack, direction: vertical, gap: md, children: [
|
|
205
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
206
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
207
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
208
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
209
|
+
] },
|
|
210
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
211
|
+
] },
|
|
212
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
213
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
214
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
215
|
+
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
216
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
217
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
218
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
219
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
220
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
221
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
222
|
+
] },
|
|
223
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
224
|
+
] },
|
|
225
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
226
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
227
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
228
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
229
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
230
|
+
] },
|
|
231
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
232
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
233
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
234
|
+
] }
|
|
106
235
|
] },
|
|
107
|
-
{ type:
|
|
108
|
-
|
|
236
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
237
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
238
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
239
|
+
] }
|
|
109
240
|
] }
|
|
110
241
|
]
|
|
111
242
|
})
|
|
@@ -117,25 +248,41 @@ orbital PerturbOrbital {
|
|
|
117
248
|
padding: md
|
|
118
249
|
children: [
|
|
119
250
|
{ type: stack, direction: vertical, gap: md, children: [
|
|
120
|
-
{ type:
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
{ type:
|
|
251
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
252
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
253
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
254
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
255
|
+
] },
|
|
256
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
257
|
+
] },
|
|
258
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
259
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
260
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
126
261
|
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
127
|
-
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm }
|
|
262
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
263
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
264
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
265
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
266
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
267
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
268
|
+
] },
|
|
269
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
128
270
|
] },
|
|
129
|
-
{ type:
|
|
130
|
-
|
|
131
|
-
{ type:
|
|
271
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
272
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
273
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
274
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
275
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
276
|
+
] },
|
|
277
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
278
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
279
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
280
|
+
] }
|
|
132
281
|
] },
|
|
133
282
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
134
|
-
{ type: typography, variant:
|
|
135
|
-
{ type:
|
|
136
|
-
] }
|
|
137
|
-
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false },
|
|
138
|
-
{ type: typography, variant: body, content: (str/concat "t = " (math/round @entity.t 1) " · " @config.valueLabel " = " (math/round @entity.value 2) " · deviation: " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
283
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
284
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
285
|
+
] }
|
|
139
286
|
] }
|
|
140
287
|
]
|
|
141
288
|
})
|
|
@@ -148,25 +295,41 @@ orbital PerturbOrbital {
|
|
|
148
295
|
padding: md
|
|
149
296
|
children: [
|
|
150
297
|
{ type: stack, direction: vertical, gap: md, children: [
|
|
151
|
-
{ type:
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
{ type:
|
|
298
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
299
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
300
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
301
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
302
|
+
] },
|
|
303
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
304
|
+
] },
|
|
305
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
306
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
307
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
157
308
|
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
158
|
-
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm }
|
|
309
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
310
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
311
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
312
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
313
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
314
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
315
|
+
] },
|
|
316
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
159
317
|
] },
|
|
160
|
-
{ type:
|
|
161
|
-
|
|
162
|
-
{ type:
|
|
318
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
319
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
320
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
321
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
322
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
323
|
+
] },
|
|
324
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
325
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
326
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
327
|
+
] }
|
|
163
328
|
] },
|
|
164
329
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
165
|
-
{ type: typography, variant:
|
|
166
|
-
{ type:
|
|
167
|
-
] }
|
|
168
|
-
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false },
|
|
169
|
-
{ type: typography, variant: body, content: (str/concat "t = " (math/round @entity.t 1) " · " @config.valueLabel " = " (math/round @entity.value 2) " · deviation: " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
330
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
331
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
332
|
+
] }
|
|
170
333
|
] }
|
|
171
334
|
]
|
|
172
335
|
})
|
|
@@ -188,25 +351,41 @@ orbital PerturbOrbital {
|
|
|
188
351
|
padding: md
|
|
189
352
|
children: [
|
|
190
353
|
{ type: stack, direction: vertical, gap: md, children: [
|
|
191
|
-
{ type:
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
{ type:
|
|
354
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
355
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
356
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
357
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
358
|
+
] },
|
|
359
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
360
|
+
] },
|
|
361
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
362
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
363
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
197
364
|
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
198
|
-
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm }
|
|
365
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
366
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
367
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
368
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
369
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
370
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
371
|
+
] },
|
|
372
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
199
373
|
] },
|
|
200
|
-
{ type:
|
|
201
|
-
|
|
202
|
-
{ type:
|
|
374
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
375
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
376
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
377
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
378
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
379
|
+
] },
|
|
380
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
381
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
382
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
383
|
+
] }
|
|
203
384
|
] },
|
|
204
385
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
205
|
-
{ type: typography, variant:
|
|
206
|
-
{ type:
|
|
207
|
-
] }
|
|
208
|
-
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false },
|
|
209
|
-
{ type: typography, variant: body, content: (str/concat "t = " (math/round @entity.t 1) " · " @config.valueLabel " = " (math/round @entity.value 2) " · deviation: " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
386
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
387
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
388
|
+
] }
|
|
210
389
|
] }
|
|
211
390
|
]
|
|
212
391
|
})
|
|
@@ -223,25 +402,41 @@ orbital PerturbOrbital {
|
|
|
223
402
|
padding: md
|
|
224
403
|
children: [
|
|
225
404
|
{ type: stack, direction: vertical, gap: md, children: [
|
|
226
|
-
{ type:
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
{ type:
|
|
405
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
406
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
407
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
408
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
409
|
+
] },
|
|
410
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
411
|
+
] },
|
|
412
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
413
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
414
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
232
415
|
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
233
|
-
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm }
|
|
416
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
417
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
418
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
419
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
420
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
421
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
422
|
+
] },
|
|
423
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
234
424
|
] },
|
|
235
|
-
{ type:
|
|
236
|
-
|
|
237
|
-
{ type:
|
|
425
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
426
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
427
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
428
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
429
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
430
|
+
] },
|
|
431
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
432
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
433
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
434
|
+
] }
|
|
238
435
|
] },
|
|
239
436
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
240
|
-
{ type: typography, variant:
|
|
241
|
-
{ type:
|
|
242
|
-
] }
|
|
243
|
-
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false },
|
|
244
|
-
{ type: typography, variant: body, content: (str/concat "t = " (math/round @entity.t 1) " · " @config.valueLabel " = " (math/round @entity.value 2) " · deviation: " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
437
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
438
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
439
|
+
] }
|
|
245
440
|
] }
|
|
246
441
|
]
|
|
247
442
|
})
|
|
@@ -254,25 +449,41 @@ orbital PerturbOrbital {
|
|
|
254
449
|
padding: md
|
|
255
450
|
children: [
|
|
256
451
|
{ type: stack, direction: vertical, gap: md, children: [
|
|
257
|
-
{ type:
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
{ type:
|
|
452
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
453
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
454
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
455
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
456
|
+
] },
|
|
457
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
458
|
+
] },
|
|
459
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
460
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
461
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
263
462
|
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
264
|
-
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm }
|
|
463
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
464
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
465
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
466
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
467
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
468
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
469
|
+
] },
|
|
470
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
265
471
|
] },
|
|
266
|
-
{ type:
|
|
267
|
-
|
|
268
|
-
{ type:
|
|
472
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
473
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
474
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
475
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
476
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
477
|
+
] },
|
|
478
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
479
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
480
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
481
|
+
] }
|
|
269
482
|
] },
|
|
270
483
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
271
|
-
{ type: typography, variant:
|
|
272
|
-
{ type:
|
|
273
|
-
] }
|
|
274
|
-
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false },
|
|
275
|
-
{ type: typography, variant: body, content: (str/concat "t = " (math/round @entity.t 1) " · " @config.valueLabel " = " (math/round @entity.value 2) " · deviation: " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
484
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
485
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
486
|
+
] }
|
|
276
487
|
] }
|
|
277
488
|
]
|
|
278
489
|
})
|
|
@@ -290,25 +501,41 @@ orbital PerturbOrbital {
|
|
|
290
501
|
padding: md
|
|
291
502
|
children: [
|
|
292
503
|
{ type: stack, direction: vertical, gap: md, children: [
|
|
293
|
-
{ type:
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
{ type:
|
|
504
|
+
{ type: stack, direction: horizontal, justify: between, align: start, gap: md, children: [
|
|
505
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
506
|
+
{ type: typography, variant: h4, content: @entity.title },
|
|
507
|
+
(if (== @config.summary "") null { type: typography, variant: body2, color: muted, content: @config.summary })
|
|
508
|
+
] },
|
|
509
|
+
{ type: badge, label: (if (>= @entity.t @config.duration) "Done" (if @entity.running "Running" "Paused")), variant: (if (>= @entity.t @config.duration) "success" (if @entity.running "primary" "neutral")) }
|
|
510
|
+
] },
|
|
511
|
+
{ type: stack, direction: horizontal, align: center, gap: sm, wrap: true, children: [
|
|
512
|
+
(if @entity.running { type: button, action: TOGGLE_RUN, label: "Pause", icon: "pause", variant: primary, aria-pressed: "true" } { type: button, action: TOGGLE_RUN, label: "Play", icon: "play", variant: primary, aria-pressed: "false", disabled: (>= @entity.t @config.duration) }),
|
|
513
|
+
{ type: button, action: RESET, label: "Reset", icon: "rotate-ccw", variant: ghost },
|
|
299
514
|
{ type: button, action: SHOCK, actionPayload: { delta: @config.shockSize }, label: @config.shockUpLabel, variant: secondary, size: sm },
|
|
300
|
-
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm }
|
|
515
|
+
{ type: button, action: SHOCK, actionPayload: { delta: (- 0 @config.shockSize) }, label: @config.shockDownLabel, variant: secondary, size: sm },
|
|
516
|
+
{ type: stack, direction: horizontal, align: center, gap: xs, role: "group", aria-label: "Speed", children: [
|
|
517
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 0.5 }, label: "0.5×", size: sm, variant: (if (== @entity.speed 0.5) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 0.5) "true" "false") },
|
|
518
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 1 }, label: "1×", size: sm, variant: (if (== @entity.speed 1) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 1) "true" "false") },
|
|
519
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 2 }, label: "2×", size: sm, variant: (if (== @entity.speed 2) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 2) "true" "false") },
|
|
520
|
+
{ type: button, action: SPEED_SET, actionPayload: { speed: 4 }, label: "4×", size: sm, variant: (if (== @entity.speed 4) "secondary" "ghost"), aria-pressed: (if (== @entity.speed 4) "true" "false") }
|
|
521
|
+
] },
|
|
522
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat "t = " (math/round @entity.t 1) " of " @config.duration) }
|
|
301
523
|
] },
|
|
302
|
-
{ type:
|
|
303
|
-
|
|
304
|
-
{ type:
|
|
524
|
+
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false, keyMap: { Space: TOGGLE_RUN, KeyR: RESET } },
|
|
525
|
+
{ type: stack, direction: vertical, gap: sm, children: [
|
|
526
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
527
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.setpointLabel ": " (math/round @entity.setpoint 1)) },
|
|
528
|
+
{ type: range-slider, min: @config.setpointMin, max: @config.setpointMax, step: @config.setpointStep, value: @entity.setpoint, showTooltip: true, action: "SET_POINT" }
|
|
529
|
+
] },
|
|
530
|
+
{ type: stack, direction: vertical, gap: xs, children: [
|
|
531
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.rateLabel ": " (math/round @entity.rate 2)) },
|
|
532
|
+
{ type: range-slider, min: @config.rateMin, max: @config.rateMax, step: @config.rateStep, value: @entity.rate, showTooltip: true, action: "SET_RATE" }
|
|
533
|
+
] }
|
|
305
534
|
] },
|
|
306
535
|
{ type: stack, direction: vertical, gap: xs, children: [
|
|
307
|
-
{ type: typography, variant:
|
|
308
|
-
{ type:
|
|
309
|
-
] }
|
|
310
|
-
{ type: math-canvas, width: @config.width, height: @config.height, title: "", xMin: 0, xMax: @config.duration, yMin: @config.valueMin, yMax: @config.valueMax, showAxes: true, showGrid: true, gridStep: @config.gridStep, curves: @entity.curves, points: [], vectors: [], shapes: [], interactive: false, animate: false },
|
|
311
|
-
{ type: typography, variant: body, content: (str/concat "t = " (math/round @entity.t 1) " · " @config.valueLabel " = " (math/round @entity.value 2) " · deviation: " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
536
|
+
{ type: typography, variant: body, content: @config.taskText },
|
|
537
|
+
{ type: typography, variant: caption, color: muted, content: (str/concat @config.valueLabel " = " (math/round @entity.value 2) " · deviation " (math/round (- @entity.value @entity.setpoint) 2)) }
|
|
538
|
+
] }
|
|
312
539
|
] }
|
|
313
540
|
]
|
|
314
541
|
})
|
|
@@ -318,8 +545,8 @@ orbital PerturbOrbital {
|
|
|
318
545
|
ticks {
|
|
319
546
|
perturbTick every 100ms
|
|
320
547
|
when (and (== @entity.active true) (and (== @entity.running true) (< @entity.t @config.duration)))
|
|
321
|
-
(set @entity.t (math/min @config.duration (+ @entity.t 0.1)))
|
|
322
|
-
(set @entity.value (+ @entity.value (* @entity.rate (- @entity.setpoint @entity.value)
|
|
548
|
+
(set @entity.t (math/min @config.duration (+ @entity.t (* 0.1 @entity.speed))))
|
|
549
|
+
(set @entity.value (+ @entity.value (* (math/min 1 (* @entity.rate (* 0.1 @entity.speed))) (- @entity.setpoint @entity.value))))
|
|
323
550
|
(set @entity.traceSamples (array/append @entity.traceSamples { x: @entity.t, y: @entity.value }))
|
|
324
551
|
(set @entity.curves [
|
|
325
552
|
{ label: @config.setpointLabel, color: @config.setpointColor, samples: [ { x: 0, y: @entity.setpoint }, { x: @config.duration, y: @entity.setpoint } ] },
|
|
@@ -334,6 +561,15 @@ orbital PerturbOrbital {
|
|
|
334
561
|
}
|
|
335
562
|
@description "Lab router broadcast naming the active mode; this instrument renders when the mode equals matchMode, otherwise renders null."
|
|
336
563
|
@tier "domain"
|
|
564
|
+
TOGGLE_RUN {
|
|
565
|
+
}
|
|
566
|
+
@description "Learner pressed the Play/Pause toggle — starts or freezes the regulation loop."
|
|
567
|
+
@tier "domain"
|
|
568
|
+
SPEED_SET {
|
|
569
|
+
speed : number
|
|
570
|
+
}
|
|
571
|
+
@description "The learner picked a playback speed; the loop relaxes that many times faster."
|
|
572
|
+
@tier "presentation"
|
|
337
573
|
RUN {
|
|
338
574
|
}
|
|
339
575
|
@description "Learner started (or resumed) the regulation loop; the trace draws live until Pause or the configured duration."
|
|
@@ -401,7 +637,11 @@ orbital PerturbOrbital {
|
|
|
401
637
|
@tier "presentation"
|
|
402
638
|
title : string = "Equilibrium & Shock"
|
|
403
639
|
@label "Title"
|
|
404
|
-
@description "
|
|
640
|
+
@description "The instrument's name, the header's one hero."
|
|
641
|
+
@tier "presentation"
|
|
642
|
+
summary : string = ""
|
|
643
|
+
@label "Concept"
|
|
644
|
+
@description "One line under the title saying what the learner is looking at (keep it under ~65 characters). Empty shows no line."
|
|
405
645
|
@tier "presentation"
|
|
406
646
|
taskText : string = "Run the system, shock it off its setpoint, and watch it recover — then move the setpoint mid-run."
|
|
407
647
|
@label "Task Text"
|
|
@@ -471,10 +711,10 @@ orbital PerturbOrbital {
|
|
|
471
711
|
gridStep : number = 2
|
|
472
712
|
@label "Grid Step"
|
|
473
713
|
@tier "presentation"
|
|
474
|
-
valueColor : string = "
|
|
714
|
+
valueColor : string = "highlight"
|
|
475
715
|
@label "Value Color"
|
|
476
716
|
@tier "presentation"
|
|
477
|
-
setpointColor : string = "
|
|
717
|
+
setpointColor : string = "guide"
|
|
478
718
|
@label "Setpoint Color"
|
|
479
719
|
@tier "presentation"
|
|
480
720
|
autoRun : boolean = true
|