need some urgent help:
exercise: polygon has 7 points, automatically adding one new Point at the end and automatically removing one in the front, and so on.... so it changes the shape, step by step, but always having 7 points.
Any idea how to do this?
My idea would have been, a 7 element array, filled in the beginning with random numbers. And then going through this, step by step and changing them. Using Thread sleep and repaint to get it done. But this would just mean... it changes the shape but not removing one point.