[visionegg] Re: Adding noise to screen

If you're using VisionEgg 1.1, use Numpy to create a random array, otherwise, use numeric. You can create a Texture object directly from this data, or a PIL image (which can then be used to initialize a Texture object).

-Eamon


On Jul 10, 2008, at 10:59 PM, Rafael Fernandez wrote:

Hello,

I am trying to add noise over a display. I am currently creating TextureStimulus objects randomly all over the screen. However, this is VERY slow. Does anyone have any idea on how to achieve this?

Thank you,
Rafael Fernández

=====================================The Vision Egg mailing list
Archives: http://www.freelists.org/archives/visionegg
Website: http://www.visionegg.org/mailinglist.html

Other related posts: