I am trying to crop images at the level of each frame to create a illusion of scrolling animation. How can we update the image each frame by cropping from one image?
I found that I could crop using visual.Aperture. However I am still having trouble to define a rectangle shape. I used the shape =‘square’ it worked. How do you make this square a rectangle that is wider?
I don’t think you can do that exactly. Then you’d have to create a mask the size of the screen with holes in it (transparent areas) and draw this on the screen after drawing your stimuli. You can create the mask in any image editing software (e.g. GIMP)
Thank you. I got it to work by drawing a image with holes in It right after drawing the moving stimuli. Is this the correct and optimal way to implement the mask?