Creative Coding: Building Objects
George Gally

Nice post! I have programmed in processing before and am now trying my hand at p5.js. I am discovering all the things JS lets you do and this post sure did open my eyes to this new possibility.

Only one thing, though: in the last example your `get` function returns a random colour from the `pool` array, but it is not populated neither in `add` nor in `generateWeightedList`.


Show your support

Clapping shows how much you appreciated Luiz Felipe Pericolo’s story.