i still have perfomence poblems, i tested it with a picture from a tv show and it took 7 seconds to render, atm my pixel class uses doubles normed from 0 to 1, but i think single would be faster, and the main loop is inefficient, also as the main colorize method takes a bit thinking until i can add different gradients and…