Major new version #2

Merged
LeoVasanko merged 86 commits from vol002 into main 2025-08-26 05:58:24 +01:00
Showing only changes of commit e0f0da1c8c - Show all commits

View File

@ -104,7 +104,6 @@ function createMomentumDrag({
const dy = last.position - first.position const dy = last.position - first.position
if (Math.abs(dy) > 5) velocity = (-dy * speed) / (now - first.timestamp) if (Math.abs(dy) > 5) velocity = (-dy * speed) / (now - first.timestamp)
} }
console.log(velocity, samples)
samples = [] samples = []
startMomentum() startMomentum()
} }