{Array.from({length: p.count}, (_, i) => {
const a = inOut(p01(t, i * gap, i * gap + dur));
const b = inOut(p01(t, mid + i * gap, mid + i * gap + dur));
const from = i % 2 ? 'right' : 'left'; // neighbours come from opposite sides
if (a <= 0 || b >= 1) return null;
return (
0 ? {[from]: `${b * 100}%`} : {})}} />
);
})}
);
};
export const meta = {id: 'LibTrStripes', component: TrStripes, defaults: stripesDefaults};