strudel-docker/packages/core/splitLanes.mjs
2022-05-28 23:45:42 +02:00

9 lines
269 B
JavaScript

function splitLanes(haps) {
// TODO: split haps into multiple arrays so that no overlapping events are in the same array
// also make sure the lanes are packed as tight as possible
// use logic analogous to drawLine
return [haps];
}
export default splitLanes;