Allen's Dev Blog

Now in COLOR!

June 02, 2021 — Allen

I found a very simple way to interpolate various colors over time, creating a fading/gradient effect. I had the picture in my head of what I wanted the behavior of each color channel to be and then defined simple functions with that behavior.

color functions

Tags: snippets

comments powered by Disqus