Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Need method to create 640*480 random data @ 60 Hz and update to scr

Status
Not open for further replies.

holydragon

Electrical
Jan 30, 2003
5
0
0
Need method to create 640*480 random data @ 60 Hz and update to scr.

I have been working with this problem for the last few days. I'm simply trying to create an array fo 640X480 randomly shaded pixels and update them to a display (or mask with another array) at the rate of 60 Hz. The video is to be continuous and unique. Any ideas on completing this would be helpful!

Best Regards!
 
Replies continue below

Recommended for you

What is your problem? In sending it to screen or generating the data? If you simply need random data you can use rand or srand to generate random numbers and just loop throught your array and populate the array with the randow variables.
 
Status
Not open for further replies.
Back
Top