how about:<div>For y = 1 to 5</div><div>   For x = 1 to 5</div><div>      Select Case CInt(Rnd(1))</div><div>         Case 0</div><div>            cnvs.SetPixel x, y, CColor("black")</div><div>         Case 1</div>

<div>            cnvs.SetPixel x, y, CColor("white")</div><div>      End Select</div><div>   Next x</div><div>Next y<br><br><div class="gmail_quote">On Wed, Jun 16, 2010 at 7:14 AM, Tobias <span dir="ltr"><<a href="mailto:tobias.fw@gmail.com">tobias.fw@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hej together,<br>
<br>
I want to program a random mask for a visual attention experiment. The<br>
idea is, that the mask should be randomly created each trial because<br>
there are some hints that subjects "learn" to ignore a mask if it is<br>
repeatedly used. So what I think of is a white noise or something. Is<br>
there a way in E-Prime to create bitmaps pixel by pixel with an<br>
inline?<br>
<br>
Cheers,<br>
Tobias<br>
<font color="#888888"><br>
--<br>
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br>
To post to this group, send email to <a href="mailto:e-prime@googlegroups.com">e-prime@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href="mailto:e-prime%2Bunsubscribe@googlegroups.com">e-prime+unsubscribe@googlegroups.com</a>.<br>
For more options, visit this group at <a href="http://groups.google.com/group/e-prime?hl=en" target="_blank">http://groups.google.com/group/e-prime?hl=en</a>.<br>
<br>
</font></blockquote></div><br></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "E-Prime" group.<br />
To post to this group, send email to e-prime@googlegroups.com.<br />
To unsubscribe from this group, send email to e-prime+unsubscribe@googlegroups.com.<br />

For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.<br />