Using kangaroo2 or Galapagos in GhPython

@AndersDeleuran has some great examples on his GitHub.

I don’t know whether it is possible to integrate Galapagos in GHPython, however genetic algorithms are not that hard to implement once you understand the basic principals.

Daniel Shiffman aka The Coding Train has some great explanations on his YouTube channel:
You could do a Python translation from his P5.js or Processing code.

If you want to inspect a Pythonic example, you can check out my attempt here: