| Should be easy enough to set up in 3 steps, below is some pseudo code.
Loop through every pixel { Use the sampleImage expression to sample the color of the pixel Convert the RGB to HSV Use the V value (luminance) as a multiplier for the position }
This might be a very slow way to do things as it will sample the image on every frame, maybe there is a more efficient way to do it,
Phil
| Phil Spitler Creative Technologist |
I’d like to animate a still photo’s pixels based on a gradient map where their speed is based on the value. Example: white being faster than gray, and gray faster than dark gray. Black would be no motion at all. Imagine that the image is similar to Starry Night by Van Gogh. Any ideas or scripts that may do this? -g +---End of message---+ To unsubscribe send any message to < ae-list-off@media-motion.tv>
|