Could I get some assistance with the GH code and the exercise below?
In the GH attached firstly, I am constantly getting an error that says " The name “a” does not exist in the current context - line 125". Could someone explain why I keep getting this error? It works once but then when I try to run it again the error appears.
How could I add more attractors and repulsors to the code? Would it be possible to add different colors as well to display the intensity of attraction for each grid point ?
Thanks in advance for any help.
A3.gh (7.3 KB)