thearn / game-of-life

Simple Python implementation of Conway's game of life and other cellular automata, computed using numpy.fft
Apache License 2.0
183 stars 52 forks source link

No window pop up in Mac OS X #4

Open nimbusLiQuid opened 8 years ago

nimbusLiQuid commented 8 years ago

the main function runs into the while loop, but no window pop out.

nimbusLiQuid commented 8 years ago

conway.py freezes under Mac OS X for me. The problems are as described here: http://stackoverflow.com/questions/3441874/matplotlib-animation-either-freezes-after-a-few-frames-or-just-doesnt-work

I fixed it in the meantime changing time.sleep(0.1) to plt.pause(0.1). Even better would be using the update function or GTKAgg. PS: Thanks for the implementation!