Hey Nicholas,
So “f” is just a var, so you can change it to whatever you want. So like the last expression I sent, you can see I changed the variables.
c = effect(“Color Control”)(“Color”)
lite = .25; // lightness factor
sat = 1; // Saturation factor
hue = .25; // hue factor
hsl = rgbToHsl(c);
hslToRgb([hsl[0]*hue,hsl[1]*sat,hsl[2]*lite,hsl[3]])
as for the //comment. You can write comments and notes a few different ways. However I’m guilty of not always noting my coding, but it does help if you have hundreds of lines of code and you want to notaries it.
//Lightness factor
lite = .25;
lite = .25; // lightness factor
/*
This allows you to do multiple line notes.
Should you need to add more detail and don’t want long lines
*/