from sympy import *
from spb import *
x, t = symbols("x, t")
params = {t: (0, 0, 2*pi)}
graphics(
    line_parametric_2d(
        cos(x), sin(x), (x, 0, 2*pi), rendering_kw={"linestyle": ":"},
        use_cm=False),
    line_parametric_2d(
        cos(2 * x) / 2, sin(2 * x) / 2, (x, 0, pi),
        rendering_kw={"linestyle": ":"}, use_cm=False),
    list_2d(
        cos(t), sin(t), "A",
        rendering_kw={"marker": "s", "markerfacecolor": None},
        params=params, scatter=True),
    list_2d(
        cos(2 * t) / 2, sin(2 * t) / 2, "B",
        rendering_kw={"marker": "s", "markerfacecolor": None},
        params=params, scatter=True),
    aspect="equal"
)