Antiflake

Start

anti = false
P3: (0, 0)
P2: (0, 0)
P1: (0, 0)
p: {(0, 0), (5, (5 * sqrt(3))), (10, 0), (0, 0)}
n = Length(p)
k = 1
anima = 28.8 (slider from 0 to 100, step 0.1)
f: z = 0
teórica = If(anti, (10 * sqrt(3)), (40 * sqrt(3)))
O: (5, (sqrt(3) * 10 / 6))
u = Vector(O, O + (3 * UnitVector[P2 - O]))
fase: ceil(ln((n - 1) / 3) / ln(4))
pausa = true
A = (3.5185185185185186, 7.804920305711607)
B = (3.580246913580247, 7.69800358919501)
triángulo: {Polygon[(0, 0), (10, 0), (5, (5 * sqrt(3)))]}
área = 43.30127018922193
vel: 10^(ln((n - 1) / 3) / ln(4) - 2)
koch: {Polygon[P1, P2, P3]}
factor = If(anti, 1, 4)
factor2 = If(anti, -1, 1)
anti2 = false
texto4: "Laps = " + (fase + 1) + ""
texto3: "Edges:
" + (n - 1) + ""
texto1: "Limit area: 
$\frac{" + (LaTeX[factor]) + " \sqrt{3}}{10}edge^{2}$
= " + (LaTeX[teórica]) + ""
texto2: "Current area:
" + área + ""