const Data: LiveComponent<DataProps>
Compose array-of-structs into struct-of-array data.
any[]
Input data, array of structs
DataField[]
WGSL schema of input data
boolean
Resample data
on every animation frame.
( ...sources: StorageSource[], ) => LiveElement<ArrowFunction>
Receive 1 source per field, in struct-of-array format. Leave empty to yeet sources instead.
packages / workbench / src / data / data.ts