We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I would like to start a discussion on how to make a flow field from an image. I have searched but have not found a method that describes creating it from an image. The idea is outlined (@11:55) in Daniel Schiffman's Nature of Code video on the subject here:
I imagine you could start with:
-> Sample an image -> Perhaps "get()" the color of each pixel at some resolution lower than the image -> Fill a 2D array with this. -> Convert the color into an angle and load that into the PVector array.
However, I have not the syntax to accomplish this yet. I will try tonight and see where I can get.