Hello,
Take a look at this example:
RGBCube \ Examples \ Processing.org
Think about how to apply this to the terrain code.
Consider mapping colors to one of the axes and apply that to a vertex.
Other references for color:
- Color \ Processing.org
- color() \ Language (API) \ Processing 3+
- colorMode() \ Language (API) \ Processing 3+
:)
Update:
I followed my initial vision and tried this:
HSB colorMode was used.
Have fun!