I am trying to write a square image with all the colours in it. I have searched google for a script or an explanation but nothing immediately obvious.
as I understand it, this image would contain all values for red, green & blue from 0 to 255 each, so 3 'for' loops should sort it. However, it does not look good and so there must be more to it than this and I cannot find an explanation how to get all blacks, all blues, all greens etc progressing nicely into one another from top to bottom.
I can write the code if someone can please explain how I get a nicely ordered image starting with 0,0,0 for black in the top left and ending up at the bottom right corner with 255,255,255 for white.
Thanks,
Paul