I would like to create my own lerpColor(c1, c2, amount)
function, with the same output as the one in ProcessingJS
http://processingjs.org/reference/lerpColor_/
I am looking or something like this:
lerpColor = function (c1, c2, amount) {
// Do some math stuff here
return(newColor);
};
Any help would be greatly appreciated.