The text has been modified, changing the parameter interface and adding opacity.
Additionally, an option has been included to set any percentage between lines, not just 1%.
Furthermore, all the if() conditions in the code have been replaced with switch() statements.