Skip to content

Commit 4039487

Browse files
Update pendulum.bat
1 parent 6652d4f commit 4039487

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pendulum/pendulum.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ for /l %%# in () do (
2626
"angle+=angleV",^
2727
"bob.x=length * !sin:x=angle! + origin.x",^
2828
"bob.y=length * !cos:x=angle! + origin.y",^
29-
"angleV=angleV * 99000 / 100000" & rem DAMPENING
29+
"angleV=angleV * 99900 / 100000" & rem DAMPENING
3030

3131
%@line% !origin.x! !origin.y! !bob.x! !bob.y!
3232
set "scrn=!scrn!!$line!"
@@ -84,4 +84,4 @@ set @line=for %%# in (1 2) do if %%#==2 ( for /f "tokens=1-5" %%1 in ("^!args^!"
8484
)%\n%
8585
set "$line=^!$line^!%\e%[0m"%\n%
8686
)) else set args=
87-
goto :eof
87+
goto :eof

0 commit comments

Comments
 (0)