complementaryColors.gif
Complementary colors in the HSB color system.
A sinusoidal oscillation between 0 and some arbitrary value \(v\) is controlled by the parameter \(\theta\) in the following expression:
$$ \frac{v(sin(\theta)+1)}{2} $$
Code: Download complementaryColors.zip || Github