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

Why not runs? #25

Open
Papagemabodi opened this issue Apr 25, 2023 · 4 comments
Open

Why not runs? #25

Papagemabodi opened this issue Apr 25, 2023 · 4 comments

Comments

@Papagemabodi
Copy link

image

@Papagemabodi
Copy link
Author

Simulation not displays in tkinter window, just white canvas

@xi-yangchun
Copy link

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.

@Papagemabodi
Copy link
Author

thanks :D it worked!

@qwertykid
Copy link

@xi-yangchun said:

But please remember that this is a temporary solution.

Is there no better solution?

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

3 participants