(index: number, jitterPx: number)
| 77 | } |
| 78 | |
| 79 | export function computeDeterministicJitter(index: number, jitterPx: number): [number, number] { |
| 80 | if (jitterPx <= 0) return [0, 0]; |
| 81 | const [dx, dy] = DETERMINISTIC_JITTER_PATTERN[index % DETERMINISTIC_JITTER_PATTERN.length]!; |
| 82 | return [dx * jitterPx, dy * jitterPx]; |
| 83 | } |
| 84 | |
| 85 | export async function runRepeatedSeries( |
| 86 | count: number, |
no outgoing calls
no test coverage detected