Ha! This seemed simple enough in theory but as a absolute beginner to programming this is turning out to be rather difficult.
I'm trying rearrange the pixels of an image based on color with a few things in mind.
1) Preserve the x position of the pixel
2) Push the y position of the pixel based on it's color value
(red pixels stay where they are but as they approach blue they go down)
I started off with this simple script and was hoping to just modify it but as a newbie- I'm lost!
How can I accomplish what I'm after? What should I look into?