show squares

show circles

weird circles

A = Intersect(yAxis, zAxis)
a = Sphere(A, 1)
B = Intersect(yAxis, a, 1)
C = Intersect(xAxis, a, 2)
D = Intersect(zAxis, a, 2)
p = Plane(D, A, B)
q = Plane(C, D, A)
c = IntersectPath(q, a)
d = IntersectPath(p, a)
E: (1, 1, 1)
F: (1, 1, 0)
r = Plane(E, F, A)
G: (-1, 1, 1)
H: (-1, 1, 0)
p_1 = Plane(H, G, A)
e = IntersectPath(p_1, a)
f = IntersectPath(r, a)
I = Point(d)
J = Point(d)
K = Point(d)
L = Point(d)
M = Point(f)
N = Point(f)
O = Point(f)
P = Point(f)
Q = Point(c)
R = Point(c)
S = Point(c)
T = Point(c)
U = Point(e)
V = Point(e)
W = Point(e)
Z = Point(e)
n = 4 (slider from 1 to 30, step 1)
t = 0.06 (slider from 0 to 1, step 0.01)
l1 = Sequence(Point[c, If[0.375 + k / n + t / n < 1, 0.375 + k / n + t / n, 0.375 + k / n + t / n - 1]], k, 0, n - 1)
l2 = Sequence(Point[d, 0 + k / n + t / n], k, 0, n - 1)
l3 = Sequence(Point[e, If[0.125 + k / n + t / n < 1, 0.125 + k / n + t / n, 0.125 + k / n + t / n - 1]], k, 0, n - 1)
l4 = Sequence(Point[f, If[0.125 + k / n + t / n < 1, 0.125 + k / n + t / n, 0.125 + k / n + t / n - 1]], k, 0, n - 1)
g = Circle((0, 0), 1)
A_1 = Point(l1)
B_1 = Point(l3)
C_1 = Point(l4)
h = Circle(A_1, B_1, C_1)
D_1 = Point(c, 1)
E_1 = Point(d, 1)
F_1 = Point(e, 1)
G_1 = Point(f, 1)
H_1 = Point(l2)
I_1 = Point(l3)
J_1 = Point(l1)
K_1 = Point(l4)
q1, h_1, i_1, j_1, k_1 = Polygon(H_1, I_1, J_1, K_1)
L_1 = Point(l2)
M_1 = Point(l4)
N_1 = Point(l1)
O_1 = Point(l3)
q2, l_1, m_1, n_1, o_1 = Polygon(L_1, M_1, N_1, O_1)
P_1 = Point(l2)
Q_1 = Point(l4)
R_1 = Point(l1)
S_1 = Point(l3)
q3, i, q_1, r_1, s_1 = Polygon(P_1, Q_1, R_1, S_1)
T_1 = Point(l4)
U_1 = Point(l1)
V_1 = Point(l3)
W_1 = Point(l2)
q4, t_1, u_1, v_1, w_1 = Polygon(T_1, U_1, V_1, W_1)
b = true
j = true
Z_1 = Point(l1)
A_2 = Point(l3)
B_2 = Point(l2)
weird31 = Circle(Z_1, A_2, B_2)
C_2 = Point(l3)
D_2 = Point(l4)
E_2 = Point(l2)
weird41 = Circle(C_2, D_2, E_2)
F_2 = Point(l4)
G_2 = Point(l1)
H_2 = Point(l3)
weird11 = Circle(F_2, G_2, H_2)
I_2 = Point(l3)
J_2 = Point(l1)
K_2 = Point(l2)
weird21 = Circle(I_2, J_2, K_2)
L_2 = Point(l2)
M_2 = Point(l3)
N_2 = Point(l1)
weird13 = Circle(L_2, M_2, N_2)
O_2 = Point(l4)
weird14 = Circle(M_2, L_2, O_2)
weird12 = Circle(L_2, O_2, N_2)
P_2 = Point(l3)
Q_2 = Point(l2)
R_2 = Point(l4)
S_2 = Point(l1)
weird23 = Circle(S_2, R_2, Q_2)
weird24 = Circle(R_2, Q_2, P_2)
weird22 = Circle(R_2, S_2, P_2)
T_2 = Point(l3)
U_2 = Point(l2)
V_2 = Point(l4)
weird33 = Circle(T_2, U_2, V_2)
W_2 = Point(l1)
weird34 = Circle(U_2, V_2, W_2)
weird32 = Circle(V_2, W_2, T_2)
Z_2 = Point(l2)
A_3 = Point(l4)
B_3 = Intersect(q_1, r_1)
weird43 = Circle(Z_2, A_3, B_3)
C_3 = Point(l3)
weird44 = Circle(A_3, B_3, C_3)
weird42 = Circle(B_3, C_3, Z_2)
k = false