Isn't it much more efficient to use pwm than resistors to adjust energy in that fashion?
86 karma · joined September 19, 2020
Edit:noticed this is sort of a repeat answer, leaving it so the people saying its slow can copy/paste and try it out.
Of course, if you're trying to monetize, or make sure it's easy for less savvy folks to access a useful tool, you're probably absolutely right.