Novi trokuti

A = (0, 0)
B: (Random[4, 12] / 2, 0)
C: (Random[4, 12] / 2, Random[4, 12] / 2)
poly1, c, a, b = Polygon(A, B, C)
D = (8, 2)
u = Vector(A, D)
A' = Translate(A, u)
B' = Translate(B, u)
C' = Translate(C, u)
poly1', c', a', b' = Polygon(A', B', C')
koeficijenti: {1, 1.5, 2, 0.25, 0.33, 0.5, 0.6, 0.8}
k = Element(koeficijenti, Random[1, 8])
A'' = Dilate(A', 1 / k, D)
A''_1 = Dilate(A', k, D)
B'' = Dilate(B', k, D)
C'' = Dilate(C', k, D)
poly1'', c'', a''_1, b'' = Polygon(A''_1, B'', C'')
d = 0 (slider from 0 to 1, step 0.1)
v: ((-d) * u)
E = Translate(A''_1, v)
B''' = Translate(B'', v)
C''' = Translate(C'', v)
slicni = Random(0, 1)
poly1''', c''', e, b''' = Polygon(E, B''', C''')
F: D + (Random[3, 12] / 2, 0)
α, β, γ = Angle(poly1)
F' = Rotate(F, α, D)
F'' = Dilate(F', k, D)
poly2, f'', d_1, f = Polygon(D, F, F'')
D' = Translate(D, v)
F'_1 = Translate(F, v)
F''' = Translate(F'', v)
poly2', f''', d', f'_1 = Polygon(D', F'_1, F''')
δ, ε, ζ = Angle(poly2')