generate new positions for all dots
List<int> generatePositions() => List.generate(100, (index) => rng.nextInt(100));