Dear Andrew, thank you for your help: the scripts works great! I have a question about two parameters (0.5 and 0.5: i tryed to play with this two values but i couldn't obtain what i need!) you set in the function defined to control the flicker: def get_target_color(t): val = 0.5+0.5*sin(temporal_freq*pi*t) return (val,val,val,1.0) # RGBA how can I modify them in order to have: -a stimulus that changes from white to mean grey (instead from white to black as it is at present) -a square function from white to mean grey (and viceversa) instead of a sinusoidal one? Thank you! Cheers, Alessandra =====================================The Vision Egg mailing list Archives: //www.freelists.org/archives/visionegg Website: http://www.visionegg.org/mailinglist.html