We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi All,
I'm very new to Processing and would greatly appreciate any help.
I am trying to create a heat map of pressure applied to feet.
I am able to read sensor data and display it on Processing. However, my aim is to create a heat map on an ellipse the colours ranging from Blue (Low Pressure) -Cyan-Green-Yellow-Red (High Pressure). I can create individual colours, but is it possible apply colours in between each individual colour?
Thanks in advance.
Answers
lerpColo()r!
https://processing.org/reference/lerpColor_.html
Thanks for your answer.
I have got slightly further with my code.
The issue I am facing now is that, once a colour is displayed it doesn't seem to disappear even if the rule isn't met.
Code Below:
I would like the colour to disappear once the value in "c1" is reduced. c1 has a value from 0 - 1023.
Please can you advice?
Many thanks.