Illusion d'optique
Author: D.Mentrard

Déplacer par le point rouge pour en juger.

Est-ce la même nuance de gris?

A = (-60, 40)
B = (-55, 40)
C = (-55, -40)
D = (-60, -40)
poly1, a, b, c, d = Polygon(A, B, C, D)
E = (-50, 40)
F = (-45, 40)
G = (-45, -40)
H = (-50, -40)
poly2, e, f_1, g, h = Polygon(E, F, G, H)
I = (-40, 40)
J = (-35, 40)
K = (-35, -40)
L = (-40, -40)
poly3, i, j, k, l = Polygon(I, J, K, L)
M = (-30, 40)
N = (-25, 40)
O = (-25, -40)
P = (-30, -40)
poly4, m, n, o, p = Polygon(M, N, O, P)
Q = (-20, 40)
R = (-15, 40)
S = (-15, -40)
T = (-20, -40)
poly5, q, r, s, t = Polygon(Q, R, S, T)
U = (-10, 40)
V = (-5, 40)
W = (-5, -40)
Z = (-10, -40)
poly6, u, v, w, z = Polygon(U, V, W, Z)
A1 = (-70, 40)
B1 = (-65, 40)
C1 = (-65, -40)
D1 = (-70, -40)
poly7, a1, b1, c1, d1 = Polygon(A1, B1, C1, D1)
E1 = Point(yAxis)
F1 = Point(yAxis)
G1 = Midpoint(V, E1)
H1 = Midpoint(W, F1)
e1 = Line(G1, H1)
U' = Mirror(U, e1)
V' = Mirror(V, e1)
W' = Mirror(W, e1)
Z' = Mirror(Z, e1)
poly6', u', v', w', z' = Polygon(U', V', W', Z')
Q' = Mirror(Q, e1)
R' = Mirror(R, e1)
S' = Mirror(S, e1)
T' = Mirror(T, e1)
poly5', q', r', s', t' = Polygon(Q', R', S', T')
M' = Mirror(M, e1)
N' = Mirror(N, e1)
O' = Mirror(O, e1)
P' = Mirror(P, e1)
poly4', m', n', o', p' = Polygon(M', N', O', P')
I' = Mirror(I, e1)
J' = Mirror(J, e1)
K' = Mirror(K, e1)
L' = Mirror(L, e1)
poly3', i', j', k', l' = Polygon(I', J', K', L')
E' = Mirror(E, e1)
F' = Mirror(F, e1)
G' = Mirror(G, e1)
H' = Mirror(H, e1)
poly2', e', f', g', h' = Polygon(E', F', G', H')
A' = Mirror(A, e1)
B' = Mirror(B, e1)
C' = Mirror(C, e1)
D' = Mirror(D, e1)
poly1', a', b', c', d' = Polygon(A', B', C', D')
A1' = Mirror(A1, e1)
B1' = Mirror(B1, e1)
C1' = Mirror(C1, e1)
D1' = Mirror(D1, e1)
poly7', a1', b1', c1', d1' = Polygon(A1', B1', C1', D1')
I1 = (-80, 40)
J1 = (-75, 40)
K1 = (-75, -40)
L1 = (-80, -40)
poly8, i1, j1, k1, l1 = Polygon(I1, J1, K1, L1)
I1' = Mirror(I1, e1)
J1' = Mirror(J1, e1)
K1' = Mirror(K1, e1)
L1' = Mirror(L1, e1)
poly8', i1', j1', k1', l1' = Polygon(I1', J1', K1', L1')
M1 = (-90, 40)
N1 = (-85, 40)
O1 = (-85, -40)
P1 = (-90, -40)
poly9, m1, n1, o1, p1 = Polygon(M1, N1, O1, P1)
M1' = Mirror(M1, e1)
N1' = Mirror(N1, e1)
O1' = Mirror(O1, e1)
P1' = Mirror(P1, e1)
poly9', m1', n1', o1', p1' = Polygon(M1', N1', O1', P1')
f = 35 (slider from 0 to 50, step 0.1)
Q1 = (-20, 0)
f1 = Circle(Q1, f)
S1 = (60, 0)
g1 = Circle(S1, f)
h1 = Line(Q1, yAxis)
q1 = Line(Q1, xAxis)
r1 = Line(S1, yAxis)
s1 = Line(S1, xAxis)
R1, T1 = Intersect(f1, q1)
t1 = 15.200000000000003 (slider from -5 to 50, step 0.1)
c2 = Circle(Q1, t1)
U1 = (70.02166687108334, 81.21641501209932)
V1, W1 = Intersect(c2, h1)
a2 = Line(V1, q1)
b2 = Line(W1, a2)
Z1 = Point(a2)
A2 = Intersect(c2, b2, 1.0)
B2 = Intersect(c2, b2, 1.0)
C2 = Point(b2)
poly10, v1, z1, c2_1, a2_1 = Polygon(V1, Z1, C2, A2)
D2 = Point(a2)
E2 = Intersect(c2, a2, 1.0)
F2 = Point(a2)
G2 = Intersect(c2, b2, 1.0)
H2 = Intersect(c2, b2, 1.0)
I2 = Point(b2)
J2 = Point(b2)
poly11, d2, f2, i2, j2 = Polygon(D2, F2, I2, J2)
K2 = Point(a2)
N2 = Point(b2)
L2 = Point(a2)
M2 = Point(b2)
O2 = Point(b2)
poly12, k2, l2, m2, o2 = Polygon(K2, L2, M2, O2)
e2 = Circle(S1, t1)
P2, Q2 = Intersect(e2, r1)
g2 = Line(P2, s1)
h2 = Line(Q2, s1)
R2 = Point(g2)
S2 = Intersect(e2, h2, 1.0)
T2 = Point(h2)
poly13, p2, r2, t2, s2 = Polygon(P2, R2, T2, S2)
U2 = Point(g2)
V2 = Point(g2)
W2 = Point(h2)
Z2 = Point(h2)
poly14, u2, v2, w2, z2 = Polygon(U2, V2, W2, Z2)
A3 = Point(g2)
B3 = Point(g2)
C3 = Point(h2)
D3 = Point(h2)
poly15, a3, b3, c3, d3 = Polygon(A3, B3, C3, D3)