Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logistic_interactive max #40

Open
Aidanly21 opened this issue Oct 9, 2021 · 1 comment
Open

Logistic_interactive max #40

Aidanly21 opened this issue Oct 9, 2021 · 1 comment

Comments

@Aidanly21
Copy link

Whenever I try to run logistic_interactive.py it always stops at 100 (time). I changed the value of self.fmax to a larger value and it seemed to work. However, the plots the program shows me and the picture don't add up. Do you know how veritasium got the his program like the one in his video?

@Hargnar
Copy link

Hargnar commented Oct 22, 2021

Hi
To extend the frames that are animated open logistic_interactive.py with Atom or some other editing tool.
Find the sections:
def cobweb_plot
change value for "r=0" in "model=logistic_map, r=0, cobweb_x=0.5," and "cobweb_n=" , "start=0, end=100"
def update_plot(self):
and change the values for - self.fmax = 100 and self.animspeed = 100 to some reasonable number :) Save and start the logistic_interactive.py
Hope this helps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants