[visionegg] Re: mirroring a text strimulus?
- From: Dav Clark <davclark@xxxxxxxxxxxx>
- To: visionegg@xxxxxxxxxxxxx
- Date: Tue, 18 Nov 2008 12:17:34 -0800
It would be trivial to take your texture as a numpy buffer or similar
and flip it (in numpy) and create a second stimulus with that. There
would be an OpenGL way to do it also, but I don't know off the top of
my head...
reversing in numpy:
swapd = a[:,::-1]
Cheers,
Dav
On Nov 18, 2008, at 11:26 AM, Gary Lupyan wrote:
Hey everyone, is there a way to flip (i.e., mirror) a texture
stimulus about the x or y axis?
Thanks.
======================================
The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html
Other related posts: