import math


def circle_points(r, n, ellipse=False):
    """
    Returns evenly spaced points on the circumfuerence of a circle given the radii
    and number of points
    """
    if ellipse == False:
        return [[math.cos(2 * math.pi / n * x) * r for x in range(0, n + 1)],
                [math.sin(2 * math.pi / n * x) * r for x in range(0, n + 1)]]
    else:
        return [[math.cos(2 * math.pi / n * x) * r for x in range(0, n + 1)],
                [math.sin(2 * math.pi / n * x) * r/2 for x in range(0, n + 1)]]