Additional ideas: there are also that there are other ways of making your orb change color. A few examples, roughly from easiest to hardest:
- you can load a single image and then shift its color with
tint()before drawing it. - you can load an image onto a sphere as a texture and then use 3D colored lighting on – see the “lights” section of the reference page: https://processing.org/reference/
- you can copy the image, then shift pixels using a colormap.