Chaos icon indicating copy to clipboard operation
Chaos copied to clipboard

Logistic_interactive max

Open Aidanly21 opened this issue 3 years ago • 1 comments

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?

Aidanly21 avatar Oct 09 '21 05:10 Aidanly21

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

Hargnar avatar Oct 22 '21 08:10 Hargnar