Fixing things and adding springPendulum

This commit is contained in:
2021-10-02 17:20:25 -07:00
parent deda6ebd18
commit 533a9b71bb
6 changed files with 272 additions and 185 deletions

View File

@@ -135,7 +135,7 @@
}
}
function drawSpring(a, b, tSize, rSize, numLoops, x, y, tStep, deltaY)
function drawSpring(a, b, xSize, ySize, numLoops, x, y, tStep, deltaY)
{
var tStart = Math.PI / 2;
var tEnd = (3 * Math.PI / 2) + (2 * Math.PI * numLoops);