// points are oriented clockwise, starting at top static L pointsAroundCircle(Pt center, int n, double radius) { L l = emptyList(n); double factor = doubleRatio(pi()*2, n); for i to n: l.add(pointOnCircle(center, radius, i*factor)); ret l; }