Hoek = 1.8151424220741026 rad (slider from 0 to 180°, step °)
hoogte = 4 (slider from 0 to 5, step 0.1)
A = (-4, -2)
c = Circle(A, hoogte)
lengtebasis = 5 (slider from 1 to 8, step 0.1)
N = (-1, -2)
i = Line(A, N)
j = OrthogonalLine(A, i)
B, C = Intersect(c, j)
k = Line(C, i)
d = Circle(N, lengtebasis)
D, E = Intersect(d, i)
E' = Rotate(E, Hoek, N)
a = Ray(N, E')
P = Intersect(k, a)
e = Circle(P, lengtebasis - 1)
F, G = Intersect(e, k)
g = Ray(N, G)
O = (4, -2)
s = Line(O, a)
veelhoek1, f, g_1, h_1 = Polygon(N, E, P)
T = Intersect(g_1, g)
veelhoek3, p, q, r = Polygon(E, T, G)
veelhoek2, t, b, f_1 = Polygon(P, T, G)
U = Intersect(s, g)
veelhoek4, l, m, n = Polygon(G, E, U)
h = Segment(P, U)