// The 10 v0 dynamics parameters (docs/v0_normalization.md §2). Plain serializable data — // this is exactly the kind of state Svelte will own later; the engine only reads a snapshot. export interface SubstrateParams { sensorGain: number; sensorAngle: number; sensorDistance: number; forceGain: number; drag: number; strafePower: number; axialForce: number; lateralForce: number; trailPersistence: number; trailDiffusion: number; } /** Order matters only for documentation; the engine reads by name. */ export const V0_PARAM_KEYS: readonly (keyof SubstrateParams)[] = [ "sensorGain", "sensorAngle", "sensorDistance", "forceGain", "drag", "strafePower", "axialForce", "lateralForce", "trailPersistence", "trailDiffusion", ];