I want do get some random (x, y) coordinates, but I dont know how to do it. The coordinates must have a relative difference of 60 between each other.
For example, in pixels:
x y
0 60
0 120
0 180
60 0
120 60
180 60
....
How can this be done using C#?
You could do something like:
Make sense? It basically boils down to “pick 2 random numbers between 0 and n differing by more than 30.” The above doesn’t handle the case where n < 60.