Hi all,
I am trying to write a script that will generate a stationary circular aperture with a moving sine grating texture inside of it. However, the texture needs to be finite, in the sense that all the black bars in the sine grating can move completely outside of the circular aperture, leading to the aperture simply revealing a white background. Does anyone know how I can go about doing this? The pictures below illustrate the kind of effect I am trying to achieve.
frame 1: http://www.screencast.com/t/YWfktFDt
2: http://www.screencast.com/t/yB8zNN13KqID
3: http://www.screencast.com/t/mmUBJbOdEjxG
4: http://www.screencast.com/t/BlEI1DQ5qZl
final: http://www.screencast.com/t/eWhoSRYBUS
I am trying to write a script that will generate a stationary circular aperture with a moving sine grating texture inside of it. However, the texture needs to be finite, in the sense that all the black bars in the sine grating can move completely outside of the circular aperture, leading to the aperture simply revealing a white background. Does anyone know how I can go about doing this? The pictures below illustrate the kind of effect I am trying to achieve.
frame 1: http://www.screencast.com/t/YWfktFDt
2: http://www.screencast.com/t/yB8zNN13KqID
3: http://www.screencast.com/t/mmUBJbOdEjxG
4: http://www.screencast.com/t/BlEI1DQ5qZl
final: http://www.screencast.com/t/eWhoSRYBUS