eighthill / Slime_Mold_Simulation

A student project simulating smile mold🧫
MIT License
6 stars 0 forks source link

TryOut Visualization of Agents and Pheromones #7

Closed Isabelle-Gbl closed 10 months ago

Isabelle-Gbl commented 10 months ago

This is just a first try out, the code will have errors sometimes by running it and I'm sure we will not use that code in the end. Still, for me it was really helpfull to understand what classes and methods we need and where things propably will become difficult. I tried to add all my thoughts as comments, please read them if you running the code. Also I added a picture what the second plot in the code can look like the lighter the dots are the more pheromones are at that positon. I'm happy to read your ideas and thoughts!

ModusMorris commented 10 months ago

To fix the problem with black, you need "black" in your Python environment once the formatter after you have installed it, you can switch to bash and simply execute black with the command black. This will apply the suggested formatting changes to your files. Then you can do the normal git add and commit again and at the end you can run black --check to check if everything was formatted correctly. I think then the workflow should go through.