Quote Originally Posted by anda_skoa View Post
- you have a number of rectangles.
Cheers,
_
Number of rectangles is random. I can enter any number
Quote Originally Posted by anda_skoa View Post
- they can change position
Cheers,
_
yes, they can change position
Quote Originally Posted by anda_skoa View Post
- their color depends on that position
Cheers,
_
Yes, their color depends on that position
Quote Originally Posted by anda_skoa View Post
- you want to update color for all rectangles every 30 seconds, not on every posiiton change
Cheers,
_
Yes. because color screen always change, so I want to update color for all rectangles every 30 miliseconds(not 30 senconds)
I think cause is all rectangle call function at the same time. But I have not found a way to solve.