Patrons dynamiques de pyramides à base rectangulaire
Author: Yvan Monka - m@ths et tiques 2006

Languettes

Longueur

largeur

H

a

b

Base

Sommet

A = Intersect(xAxis, yAxis)
Longueur = 8.91 (slider from 0.01 to 15, step 0.1)
largeur = 8.71 (slider from 0.01 to 10, step 0.1)
a = 3.5 (slider from -10 to 10, step 0.1)
b = 1.5 (slider from -10 to 10, step 0.1)
Hauteur = 6.6 (slider from 0 to 10, step 0.1)
B: (Longueur, 0.0)
C: (Longueur, largeur)
D: (0.0, largeur)
f: sqrt(a^(2.0) + b^(2.0) + Hauteur^(2.0))
g: sqrt(b^(2.0) + Hauteur^(2.0) + (Longueur - a)^(2.0))
h: sqrt((Longueur - a)^(2.0) + Hauteur^(2.0) + (largeur - b)^(2.0))
i: sqrt(a^(2.0) + Hauteur^(2.0) + (largeur - b)^(2.0))
k = Circle(A, f)
p = Circle(B, g)
q = Circle(C, h)
r = Circle(D, i)
E = Intersect(k, r, 1.0)
F = Intersect(k, p, 2.0)
G = Intersect(p, q, 1.0)
H_2 = Intersect(q, r, 1.0)
P, d_1, a_1, b_1, c_1 = Polygon(D, A, B, C)
Q, h_1, d_2, e_1, a_2, f_1, b_2, g_1, c_2 = Polygon(H_2, D, E, A, F, B, G, C)
j = 0.4 (slider from 0 to 3, step 0.1)
s = Circle(H_2, j)
t = Circle(C, j)
k_1 = Circle(G, j)
p_1 = Circle(B, j)
q_1 = Circle(F, j)
r_1 = Circle(A, j)
s_1 = Circle(E, j)
t_1 = Circle(D, j)
I = Intersect(s_1, d_2, 1.0)
J = Intersect(s_1, e_1, 1.0)
K = Intersect(r_1, e_1, 1.0)
L = Intersect(r_1, a_2, 1.0)
M = Intersect(q_1, a_2, 1.0)
N = Intersect(q_1, f_1, 1.0)
O = Intersect(p_1, f_1, 1.0)
R = Intersect(p_1, b_2, 1.0)
S_9 = Intersect(k_1, b_2, 1.0)
U = Intersect(t, g_1, 1.0)
V = Intersect(t, c_2, 1.0)
W = Intersect(s, c_2, 1.0)
Y = Intersect(s, h_1, 1.0)
Z = Intersect(t_1, h_1, 1.0)
A_1 = Intersect(t_1, d_2, 1.0)
T = Intersect(k_1, g_1, 1.0)
α = 0.4014257279586958 rad (slider from 0.2617993877991494 to 0.8726646259971648, step 0.017453292519943295)
B_1 = Rotate(Z, α, D)
β = Angle(Z, D, B_1)
C_1 = Rotate(Y, 0.0 - α, H_2)
γ = Angle(Y, H_2, C_1)
D_1 = Rotate(A_1, 0.0 - α, D)
δ = Angle(A_1, D, D_1)
E_1 = Rotate(I, α, E)
ε = Angle(I, E, E_1)
F_1 = Rotate(J, 0.0 - α, E)
ζ = Angle(J, E, F_1)
G_1 = Rotate(K, α, A)
η = Angle(K, A, G_1)
H_1 = Rotate(L, 0.0 - α, A)
θ = Angle(L, A, H_1)
I_1 = Rotate(M, α, F)
ι = Angle(M, F, I_1)
J_1 = Rotate(N, 0.0 - α, F)
κ = Angle(N, F, J_1)
K_1 = Rotate(O, α, B)
λ = Angle(O, B, K_1)
L_1 = Rotate(R, 0.0 - α, B)
μ = Angle(R, B, L_1)
M_1 = Rotate(S_9, α, G)
ν = Angle(S_9, G, M_1)
N_1 = Rotate(T, 0.0 - α, G)
ξ = Angle(T, G, N_1)
O_1 = Rotate(U, α, C)
ο = Angle(U, C, O_1)
P_1 = Rotate(V, 0.0 - α, C)
ρ = Angle(V, C, P_1)
Q_1 = Rotate(W, α, H_2)
σ = Angle(W, H_2, Q_1)
R_1, f_2, j_1, k_2, b_3, l_1, m_1, g_2, n_1, o_1, c_3, p_2, q_2, h_2, c_4, b_4, d_3, d_4, e_2, e_3, f_3, g_3, a_3, h_3, i_1 = Polygon(F, J_1, K_1, B, L_1, M_1, G, N_1, O_1, C, P_1, Q_1, H_2, C_1, B_1, D, D_1, E_1, E, F_1, G_1, A, H_1, I_1)
S_1 = (26.205, 10.105000000000004)
S_2: (x(S_1) + Longueur, y(S_1))
S_3: (x(S_1) + 0.3 * largeur, y(S_1) + 0.3 * largeur)
S_4: (x(S_2) + 0.3 * largeur, y(S_2) + 0.3 * largeur)
l = Segment(S_4, S_2)
m = Segment(S_2, S_1)
n = Segment(S_4, S_3)
i_2 = Segment(S_3, S_1)
S_5: (x(S_1) + a, y(S_1))
S_6: (x(S_1) + 0.3 * b, y(S_1) + 0.3 * b)
S_7: (x(S_5) + 0.3 * b, y(S_6))
j_2 = Segment(S_6, S_7)
l_2 = Segment(S_7, S_5)
S: (x(S_7), y(S_7) + Hauteur)
m_2 = Segment(S, S_1)
n_2 = Segment(S, S_4)
r_2 = Segment(S, S_7)
s_2 = Segment(S, S_2)
t_2 = Segment(S, S_3)
T_1, s_3, s_4, s_5, s_6 = Polygon(S_1, S_2, S_4, S_3)