MCPcopy Create free account
hub / github.com/error311/FileRise / mid

Function mid

public/js/folderManager.js:1815–1815  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

1813 }
1814
1815 const mid = (a, b) => ({ x: (a.x + b.x) / 2, y: (a.y + b.y) / 2 });
1816 const start = mid(pts[pts.length - 1], pts[0]);
1817 let d = `M ${start.x} ${start.y}`;
1818 for (let i = 0; i < pts.length; i++) {

Callers 1

paperBallFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected