Expand description
Analog signal rendering: command generation and waveform drawing.
Structsยง
- Command
Builder ๐ - Builds drawing commands by iterating viewport pixels.
- Command
Output ๐ - Accumulates commands and tracks value bounds.
- Interpolated
Strategy - Interpolated rendering: diagonal lines connecting consecutive values.
- Render
Context - Coordinate transformation state shared between rendering strategies.
Invariant:
min_valandmax_valare always finite. - Step
Strategy - Step-style rendering: horizontal segments with vertical transitions.
Enumsยง
Traitsยง
- Render
Strategy - Rendering strategy for analog waveforms.
Functionsยง
- draw_
amplitude_ ๐labels - draw_
analog - Render analog waveform from pre-computed commands.
- draw_
building_ ๐indicator - Draw a building indicator with animated dots while analog cache is being built.
- format_
amplitude_ ๐value - Format amplitude value for display, using scientific notation for extreme values.
- render_
with_ ๐strategy - Render commands using the given strategy.
- select_
value_ ๐range - variable_
analog_ ๐draw_ commands - Generate draw commands for a displayed analog variable.
Returns
Noneif unrenderable, or a cache-build command if cache not ready.