Closed slaclau closed 6 months ago
Have you tested with $v_i$ and $v$ being $1$, because the fraction would become indeterminate $a_i = a\times \frac{0}{0}$
When $v=1$ the brightness can only be decreased not increased, I skipped over this for brevity but when decreasing brightness the decrease fraction is instead $a=v_i/v$
will follow this up in #136 since that includes all of the changes
Builds on #134 with additional all slider functionality.
Algorithm is as follows: