rotateHue
rotateHue is a JavaScript function designed to manipulate the hue component of colors within an image. It is commonly found in image processing libraries and frameworks that offer visual effects or color adjustments. The primary purpose of rotateHue is to shift the hue of all pixels in an image by a specified degree. Hue is one of the main properties of a color, representing its pure color, such as red, yellow, or blue.
When rotateHue is applied, it takes the existing hue value of each pixel and adds a rotation
The function usually accepts a parameter representing the degree of hue rotation. This value can be a