1. iteráció

2. iteráció

3. iteráció

A = (-0.88, -2)
B = (12.56, -2)
a = Segment(A, B)
c = Circle(A, a / 3)
d = Circle(B, a / 3)
b = LineBisector(A, B)
C = Intersect(c, a)
D = Intersect(d, a)
e = Circle(C, D)
E, F = Intersect(e, b)
f = PolyLine(A, C, F, D, B)
G = (-25.56, -6)
H = (-15.06, -6)
poligon1, g, h, i, I = Polygon(G, H, 3)
j = Koch(G, I)
k = Koch(I, H)
l = Koch(H, G)
J = Point(i)
m = Koch(G, J)
K = Point(j)
u_2 = Koch(J, K)
L = Point(i)
p = Koch(K, L)
q = Koch(L, I)
M = Point(h)
r = Koch(I, M)
N = Point(k)
s = Koch(M, N)
O = Point(h)
t = Koch(N, O)
a_1 = Koch(O, H)
P = Point(g)
b_1 = Koch(H, P)
Q = Point(l)
c_1 = Koch(P, Q)
R = Point(g)
d_1 = Koch(Q, R)
e_1 = Koch(R, G)
S = Point(i)
f_1 = Koch(G, S)
T = Point(m)
g_1 = Koch(S, T)
U = Point(i)
h_1 = Koch(T, U)
i_1 = Koch(U, J)
V = Point(j)
j_1 = Koch(J, V)
W = Point(u_2)
k_1 = Koch(V, W)
Z = Point(j)
l_1 = Koch(W, Z)
m_1 = Koch(Z, K)
A_1 = Point(j)
n_1 = Koch(K, A_1)
B_1 = Point(p)
p_1 = Koch(A_1, B_1)
C_1 = Point(p)
q_1 = Koch(B_1, C_1)
r_1 = Koch(C_1, L)
D_1 = Point(i)
s_1 = Koch(L, D_1)
E_1 = Point(q)
t_1 = Koch(D_1, E_1)
F_1 = Point(i)
a_2 = Koch(E_1, F_1)
b_2 = Koch(F_1, I)
G_1 = Point(h)
c_2 = Koch(I, G_1)
H_1 = Point(r)
d_2 = Koch(G_1, H_1)
I_1 = Point(h)
e_2 = Koch(H_1, I_1)
f_2 = Koch(I_1, M)
J_1 = Point(k)
g_2 = Koch(M, J_1)
K_1 = Point(s)
h_2 = Koch(J_1, K_1)
L_1 = Point(k)
i_2 = Koch(K_1, L_1)
j_2 = Koch(L_1, N)
M_1 = Point(k)
k_2 = Koch(N, M_1)
N_1 = Point(t)
l_2 = Koch(M_1, N_1)
O_1 = Point(k)
m_2 = Koch(N_1, O_1)
n_2 = Koch(O_1, O)
P_1 = Point(h)
p_2 = Koch(O, P_1)
Q_1 = Point(a_1)
q_2 = Koch(P_1, Q_1)
R_1 = Point(h)
r_2 = Koch(Q_1, R_1)
s_2 = Koch(R_1, H)
S_1 = Point(g)
t_2 = Koch(H, S_1)
T_1 = Point(b_1)
a_3 = Koch(S_1, T_1)
U_1 = Point(g)
b_3 = Koch(T_1, U_1)
c_3 = Koch(U_1, P)
V_1 = Point(l)
d_3 = Koch(P, V_1)
W_1 = Point(c_1)
e_3 = Koch(V_1, W_1)
Z_1 = Point(l)
f_3 = Koch(W_1, Z_1)
g_3 = Koch(Z_1, Q)
A_2 = Point(l)
h_3 = Koch(Q, A_2)
B_2 = Point(d_1)
i_3 = Koch(A_2, B_2)
C_2 = Point(l)
j_3 = Koch(B_2, C_2)
k_3 = Koch(C_2, R)
D_2 = Point(g)
l_3 = Koch(R, D_2)
E_2 = Point(e_1)
m_3 = Koch(D_2, E_2)
F_2 = Point(g)
n_3 = Koch(E_2, F_2)
p_3 = Koch(F_2, G)
o = true
u = false
v = false

Tool: Koch
Input: A, B
Output: f

a = Segment(A, B)
c = Circle(A, a / 3)
d = Circle(B, a / 3)
b = LineBisector(A, B)
C = Intersect(c, a)
D = Intersect(d, a)
e = Circle(C, D)
E, F = Intersect(e, b)
f = PolyLine(A, C, F, D, B)