How to interpolate a color sequence?

后端 未结 6 1183
有刺的猬
有刺的猬 2020-12-10 09:49

I need to interpolate or change gradually a sequence of colors, so it goes from colorA to colorB to colorC to colorD and them back to colorA, this need to be based on time e

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-10 10:19

    Separate the three components (RBG) and interpolate each separately, using the classical interpolation algorithm.

提交回复
热议问题