Hello,
I've created a program in which an object moves. I wanted to make sure we can see its traces. So I used a Vector and the thread of my program I wrote the code that allows the insertion of x and y position in the Vector. This means that each turn of thread a point is added / drawn. This makes the program go slower than that in advance. I would like to add my points in Vector may be the (speed of thread / 5) How can I control this? Thank you in advance.
Bookmarks