I’m playing with examples in the “Generative Design” book - this example builds an array of colors from an image and then sorts them.
I get an error message:
Uncaught ReferenceError: gd is not defined (sketch: line 69)
Line 69 = gd.sortColors(colors, sortMode);
does this capability no longer exist? or done differently now? I can’t find any information about it in the online reference.