refacto & cleanup of toplevel functions, use @p42/p42Modules, test microframework

This commit is contained in:
STEINNI
2026-06-14 17:39:52 +00:00
parent c399f9ddb4
commit 7435d96135
11 changed files with 427 additions and 108 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export function positionAt(agent, t) {
})
}
function distanceBetween(agentA, agentB, t) {
export function distanceBetween(agentA, agentB, t) {
const a = positionAt(agentA, t)
const b = positionAt(agentB, t)
const dx = a.x - b.x