Randomize

randomAngle = 0.24434609527920614 rad (slider from 0 to 20*°, step 1*°)
angle = 0.7853981633974483 rad (slider from 0 to 6.283185307179586, step 0.08726646259971647)
lengthDecrease = 0.75 (slider from 0.05 to 1, step 0.05)
B = (5, 2)
A = (5, 1)
u = Vector(A, B)
B' = Translate(B, Vector[(lengthDecrease * u)])
B''_1 = Rotate(B', angle + ((random() * randomAngle) * 2) - randomAngle, B)
b = Vector(B, B''_1)
D = Translate(B''_1, Vector[(lengthDecrease * b)])
D' = Rotate(D, angle + ((random() * randomAngle) * 2) - randomAngle, B''_1)
p = Vector(B''_1, D')
D'' = Translate(D', Vector[(lengthDecrease * p)])
a = Segment(A, B)
v = Vector(B, B')
B'' = Translate(B', Vector[(lengthDecrease * v)])
α = Angle(B', B, B''_1)
B''_2 = Rotate(B', (-angle) + ((random() * randomAngle) * 2) - randomAngle, B)
β = Angle(B''_2, B, B')
B''' = Rotate(B'', angle + ((random() * randomAngle) * 2) - randomAngle, B')
γ = Angle(B'', B', B''')
B'''_1 = Rotate(B'', (-angle) + ((random() * randomAngle) * 2) - randomAngle, B')
δ = Angle(B'''_1, B', B'')
w = Vector(B, B''_2)
C = Translate(B''_2, Vector[(lengthDecrease * w)])
C' = Rotate(C, angle + ((random() * randomAngle) * 2) - randomAngle, B''_2)
ε = Angle(C, B''_2, C')
C'_1 = Rotate(C, (-angle) + ((random() * randomAngle) * 2) - randomAngle, B''_2)
ζ = Angle(C'_1, B''_2, C)
η = Angle(D, B''_1, D')
D'_1 = Rotate(D, (-angle) + ((random() * randomAngle) * 2) - randomAngle, B''_1)
θ = Angle(D'_1, B''_1, D)
c = Segment(B, B''_2)
d = Segment(B, B')
e = Segment(B', B'')
f = Segment(B, B''_1)
g = Segment(B''_1, D)
h = Segment(B''_2, C)
i = Segment(B''_1, D')
j = Segment(B''_1, D'_1)
k = Segment(B', B''')
l = Segment(B', B'''_1)
m = Segment(B''_2, C')
n = Segment(B''_2, C'_1)
q = Vector(B''_1, D)
r = Vector(B''_1, D'_1)
s = Vector(B', B''')
t = Vector(B', B'')
u_1 = Vector(B', B'''_1)
v_1 = Vector(B''_2, C')
w_1 = Vector(B''_2, C)
a_1 = Vector(B''_2, C'_1)
D'_2 = Translate(D, Vector[(lengthDecrease * q)])
F = Translate(B''', Vector[(lengthDecrease * s)])
E = Translate(D'_1, Vector[(lengthDecrease * r)])
B'''_2 = Translate(B'', Vector[(lengthDecrease * t)])
C'' = Translate(C', Vector[(lengthDecrease * v_1)])
G = Translate(B'''_1, Vector[(lengthDecrease * u_1)])
C'_2 = Translate(C, Vector[(lengthDecrease * w_1)])
H = Translate(C'_1, Vector[(lengthDecrease * a_1)])
b_1 = Segment(D', D'')
c_1 = Segment(D, D'_2)
d_1 = Segment(B''', F)
e_1 = Segment(D'_1, E)
f_1 = Segment(B'', B'''_2)
g_1 = Segment(B'''_1, G)
h_1 = Segment(C', C'')
i_1 = Segment(C, C'_2)
j_1 = Segment(C'_1, H)
D''' = Rotate(D'', angle + ((random() * randomAngle) * 2) - randomAngle, D')
ι = Angle(D'', D', D''')
D'''_1 = Rotate(D'', (-angle) + ((random() * randomAngle) * 2) - randomAngle, D')
κ = Angle(D'''_1, D', D'')
I = Rotate(D'_2, angle + ((random() * randomAngle) * 2) - randomAngle, D)
λ = Angle(D'_2, D, I)
J = Rotate(D'_2, (-angle) + ((random() * randomAngle) * 2) - randomAngle, D)
μ = Angle(J, D, D'_2)
E' = Rotate(E, angle + ((random() * randomAngle) * 2) - randomAngle, D'_1)
ν = Angle(E, D'_1, E')
E'_1 = Rotate(E, (-angle) + ((random() * randomAngle) * 2) - randomAngle, D'_1)
ξ = Angle(E'_1, D'_1, E)
F' = Rotate(F, angle + ((random() * randomAngle) * 2) - randomAngle, B''')
ο = Angle(F, B''', F')
F'_1 = Rotate(F, (-angle) + ((random() * randomAngle) * 2) - randomAngle, B''')
ρ = Angle(F'_1, B''', F)
K = Rotate(B'''_2, angle + ((random() * randomAngle) * 2) - randomAngle, B'')
σ = Angle(B'''_2, B'', K)
L = Rotate(B'''_2, (-angle) + ((random() * randomAngle) * 2) - randomAngle, B'')
τ = Angle(L, B'', B'''_2)
G' = Rotate(G, angle + ((random() * randomAngle) * 2) - randomAngle, B'''_1)
υ = Angle(G, B'''_1, G')
G'_1 = Rotate(G, (-angle) + ((random() * randomAngle) * 2) - randomAngle, B'''_1)
ϕ = Angle(G'_1, B'''_1, G)
C''' = Rotate(C'', angle + ((random() * randomAngle) * 2) - randomAngle, C')
χ = Angle(C'', C', C''')
C'''_1 = Rotate(C'', (-angle) + ((random() * randomAngle) * 2) - randomAngle, C')
ψ = Angle(C'''_1, C', C'')
M = Rotate(C'_2, angle + ((random() * randomAngle) * 2) - randomAngle, C)
ω = Angle(C'_2, C, M)
N = Rotate(C'_2, (-angle) + ((random() * randomAngle) * 2) - randomAngle, C)
α_1 = Angle(N, C, C'_2)
H' = Rotate(H, angle + ((random() * randomAngle) * 2) - randomAngle, C'_1)
β_1 = Angle(H, C'_1, H')
H'_1 = Rotate(H, (-angle) + ((random() * randomAngle) * 2) - randomAngle, C'_1)
γ_1 = Angle(H'_1, C'_1, H)
k_1 = Segment(D''', D')
l_1 = Segment(D'''_1, D')
m_1 = Segment(I, D)
n_1 = Segment(J, D)
p_1 = Segment(D'_1, E')
q_1 = Segment(B''', F')
r_1 = Segment(B''', F'_1)
s_1 = Segment(D'_1, E'_1)
t_1 = Segment(B'', K)
a_2 = Segment(B'', L)
b_2 = Segment(B'''_1, G')
c_2 = Segment(B'''_1, G'_1)
d_2 = Segment(C', C''')
e_2 = Segment(C', C'''_1)
f_2 = Segment(C, M)
g_2 = Segment(C, N)
h_2 = Segment(C'_1, H')
i_2 = Segment(C'_1, H'_1)