Chakazul/Lenia

Why not runs?

Papagemabodi opened this issue · 4 comments

Simulation not displays in tkinter window, just white canvas

Lenia.draw_legend method seems to face some troubles when it tries to draw a rectangle.
A temporary solution is to comment out self.draw_legend method, which is used twice in LeniaND.py, LeniaNDK.py, and LeniaNDKC.py for each.
The lines you should comment out are:

  • in LeniaND.py : 1502, 1548
  • in LeniaNDK.py : 1572, 1618
  • in LeniaNDKC.py : 2037, 2083

But please remember that this is a temporary solution. Lenia.draw_legend may have been used to show you some properties of creatures and grid space, such as the space scale or the correspondence between the heatmap and the cells' value. Although you can observe Lenia lifeforms without the legend, you will fail to know the statistical property of the lifeforms.

thanks :D it worked!

@xi-yangchun said:

But please remember that this is a temporary solution.

Is there no better solution?