Generalised Thue-Morse

$c(x,y)=\operatorname{palette}\!\left(\left(\frac{(s_l(x)+s_l(y))\bmod k}{k}+\phi\right)\bmod 1\right)$

$s_l(n)$ = sum of digits of $n$ when written in base $l$.

mod k
base l
grid
phase
speed
palette
play
full