שלב א: סיבוב המשולש

שלב ב: הזזת המשולש המסובב

D

A = Intersect(xAxis, yAxis)
B = Point(yAxis)
C = (2, 4)
poly1, c, a, b = Polygon(A, B, C)
d = OrthogonalLine(C, yAxis)
H = Intersect(d, yAxis)
D = Midpoint(b)
E = (5, 2)
F = Point(Circle[E, a])
e = Segment(E, F)
α_1 = Angle(B, C, A)
E'_1 = Rotate(E, α_1, F)
β = Angle(E, F, E'_1)
f = Line(F, E'_1)
g = Circle(F, b)
G = Intersect(g, f, 2.0)
h = Segment(F, G)
i = Segment(G, E)
poly2, g_1, e_1, f_1 = Polygon(E, F, G)
α = 3.141592653589793 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
j = false
A' = Rotate(A, α, D)
B' = Rotate(B, α, D)
C' = Rotate(C, α, D)
poly1', c', a', b' = Polygon(A', B', C')
k = false