data | array | — | — | Rows to unitize into category piles. Optional when mode is mechanical. |
categoryAccessor | string | function | — | "category" | Categorical field that chooses the pile. |
valueAccessor | string | function | — | "value" | Numeric field converted into unit bodies. |
mode | "sample" | "mechanical" | — | "sample" | Use data values or generate a deterministic no-data unit pile. |
mechanicalCount | number | — | max(48, categories * 12) | Number of generated unit bodies in mechanical mode. |
mechanicalCategories | array | — | ["Intake", "Review", "Build", "Ship"] | Category labels generated by mechanical mode. |
unitValue | number | — | 1 | Value represented by one body. |
ballRadius | number | — | 5 | Radius for each simulated unit body. |
colorBy | string | function | — | — | Categorical field used to color bodies. |
seed | number | — | 1 | Deterministic simulation seed. |
showProjection | boolean | — | true | Draw an exact settled-projection overlay so totals remain readable while units settle. |
sediment | boolean | — | — | Reserved future sediment mode. |
size | array | — | [700, 380] | [width, height] in pixels. |
width | number | — | 700 | Width alias used when size is omitted. |
height | number | — | 380 | Height alias used when size is omitted. |
hoverRadius | number | — | 16 | Pixel hit radius for unit-body hover tooltips. |
paused | boolean | — | false | Pause the simulation. |
tooltip | boolean | function | object | — | true | Enable the default unit-body tooltip, pass a custom tooltip renderer/config, or set false to disable hover tooltips. |
frameProps | object | — | — | Advanced StreamPhysicsFrame props. |