Change drifting grating orientation, while still keeping in square

Hello !

I’m trying to present a drifting grating with an orientation of 22 degrees. However, when I change the ori parameter in the code, the whole patch rotates !

How would I change the orientation of the « lines » if I could call them that, without changing the orientation of my square patch ?

Thanks