From 744489bd5515a1ec937c1ae8ab4a64c1412988f1 Mon Sep 17 00:00:00 2001
From: sayanmitracode <sayan.mitra@gmail.com>
Date: Wed, 29 Jun 2022 13:06:12 -0500
Subject: [PATCH] fixed ball bounces with time step

---
 demo/ball_bounces.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/demo/ball_bounces.py b/demo/ball_bounces.py
index 455314ca..696abd56 100644
--- a/demo/ball_bounces.py
+++ b/demo/ball_bounces.py
@@ -92,7 +92,7 @@ if __name__ == "__main__":
     # this may be the cause for the VisibleDeprecationWarning
     # TODO: Longer term: We should initialize by writing expressions like "-2 \leq myball1.x \leq 5"
     # "-2 \leq myball1.x + myball2.x \leq 5"
-    traces = bouncingBall.simulate(40)
+    traces = bouncingBall.simulate(40,0.01)
     # TODO: There should be a print({traces}) function
     fig = go.Figure()
     fig = plotly_simulation_anime(traces, fig=fig)
-- 
GitLab