Iterable<Offset> randomNormalPositions(int seed) sync* { Random r = Random(seed); while (true) { yield Offset(r.nextDouble(), r.nextDouble()); } }