M taille 3
Abscisse
vitesse 1 pas 0.005

Ordonnée
vitesse 0.005 pas 0.005

M taille 5
Abscisse
vitesse 1.5  pas 0.015

Ordonnée
vitesse 0.009 pas 0.013

Aléatoire (M de taille 3 à 9)
Abscisse et ordonnée
vitesse 1

Valeurs limites 
pour les couleurs

coefficients pour limiter les valeurs des couleurs

Avec balayage

Valeur des couleurs
(1 donne la couleur la plus vive)

Rcoeff = 0.4 (slider from 0 to 10, step 0.1)
Cad4 = (0, 1)
Cad3 = (1.0037003408782885, 1.0049156791496483)
Cad2 = (1, 0)
Cad1 = (0, 0)
D = (-0.24007836099394494, 0.22614123987504328)
cD34 = Circle(Cad3, D, Cad4)
cD14 = Circle(Cad1, D, Cad4)
C = (1.0891003422835723, 0.3162875588563479)
cC24 = Circle(Cad2, C, Cad4)
cC13 = Circle(Cad1, C, Cad3)
B = (1.079510308349391, 0.9377217577912914)
cB23 = Circle(Cad2, B, Cad3)
cB12 = Circle(Cad1, B, Cad2)
Mabscisse = 0.208 (slider from 0 to 0.25, step 0.001)
Mordonnée = 0.239 (slider from 0 to 0.25, step 0.001)
M: (Mabscisse, Mordonnée)
mcD34 = Distance(M, cD34)
mcD14 = Distance(M, cD14)
mcC24 = Distance(M, cC24)
mcC13 = Distance(M, cC13)
mcB23 = Distance(M, cB23)
mcB12 = Distance(M, cB12)
foncer = 2.4 (slider from 0 to 50, step 0.1)
Bcoeff = 1 (slider from 0 to 10, step 0.1)
A = (-0.08471981126020905, 0.7075609433709409)
f = Line(M, A)
i = Line(M, B)
j = Line(M, C)
l = Line(M, D)
add2 = 20 (slider from -20 to 20, step 1)
poly1, a, b, c, d = Polygon(Cad4, Cad3, Cad2, Cad1)
coeff = -1.2492 (slider from -10 to 10, step 0.01)
constx = 0 (slider from -5 to 5, step 1.0E-4)
coeffx = 1 (slider from -5 to 5, step 1.0E-4)
add3 = 2 (slider from -20 to 20, step 1)
add1 = 20 (slider from -20 to 20, step 0.001)
RayonB = 17.69 (slider from -20 to 200, step 0.01)
RayonA = 3.25 (slider from 0 to 10, step 0.001)
Vcoeff = 0.6 (slider from 0 to 10, step 0.1)
anglebase1 = 0.10471975511965977 rad (slider from 0*° to 90*°, step 0.017453292519943295)
RayonC = -3.2667 (slider from -5 to 5, step 1.0E-4)
RayonE = -2.2567 (slider from -5 to 5, step 1.0E-4)
RayonF = -4.4567 (slider from -5 to 5, step 1.0E-4)
RayonH = 0.55 (slider from -5 to 5, step 1.0E-4)
RayonG = -3.1767 (slider from -5 to 5, step 1.0E-4)
RayonI = 4.75 (slider from -5 to 5, step 1.0E-4)
RayonD = 0.7933 (slider from -5 to 5, step 1.0E-4)
VfoisMA = -1.6067 (slider from -5 to 5, step 1.0E-4)
VfoisMB = -3.3167 (slider from -5 to 5, step 1.0E-4)
VfoisMC = -2.7967 (slider from -5 to 5, step 1.0E-4)
VfoisMD = -2.3667 (slider from -5 to 5, step 1.0E-4)
VfoisME = -1.8167 (slider from -5 to 5, step 1.0E-4)
VfoisMF = 0.5933 (slider from -5 to 5, step 1.0E-4)
VfoisMG = 0.6433 (slider from -5 to 5, step 1.0E-4)
VfoisMH = -2.7067 (slider from -5 to 5, step 1.0E-4)
VfoisMI = 5 (slider from -5 to 5, step 1.0E-4)
BfoisMD = -1.8667 (slider from -5 to 5, step 1.0E-4)
BfoisME = 0.9933 (slider from -5 to 5, step 1.0E-4)
BfoisMF = -4.3067 (slider from -5 to 5, step 1.0E-4)
BfoisMG = -3.6867 (slider from -5 to 5, step 1.0E-4)
BfoisMH = 0.8833 (slider from -5 to 5, step 1.0E-4)
BfoisMI = 3.5 (slider from -5 to 5, step 1.0E-4)
anglebase2 = 0.8726646259971648 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
xA = 0.35 (slider from 0 to 1, step 0.01)
z1 = Segment(Cad4, Cad2)
z2 = Segment(Cad3, Cad1)
cA24 = Circle(Cad4, A, Cad2)
cA13 = Circle(Cad1, A, Cad3)
cA23 = Circle(Cad2, A, Cad3)
cA14 = Circle(Cad1, A, Cad4)
cA12 = Circle(Cad1, A, Cad2)
cA34 = Circle(Cad3, A, Cad4)
mcA12 = Distance(M, cA12)
mcA13 = Distance(M, cA13)
mcA14 = Distance(M, cA14)
mcA23 = Distance(M, cA23)
mcA24 = Distance(M, cA24)
mcA34 = Distance(M, cA34)
cB13 = Circle(Cad1, B, Cad3)
cB14 = Circle(Cad1, B, Cad4)
cB24 = Circle(Cad2, B, Cad4)
cB34 = Circle(Cad3, B, Cad4)
cC12 = Circle(Cad1, C, Cad2)
cC14 = Circle(Cad1, C, Cad4)
cC23 = Circle(Cad2, C, Cad3)
cC34 = Circle(Cad3, C, Cad4)
cD12 = Circle(Cad1, D, Cad2)
cD13 = Circle(Cad1, D, Cad3)
cD23 = Circle(Cad2, D, Cad3)
cD24 = Circle(Cad2, D, Cad4)
mcB13 = Distance(M, cB13)
mcB14 = Distance(M, cB14)
mcB24 = Distance(M, cB24)
mcB34 = Distance(M, cB34)
mcC12 = Distance(M, cC12)
mcC14 = Distance(M, cC14)
mcC23 = Distance(M, cC23)
mcC34 = Distance(M, cC34)
mcD12 = Distance(M, cD12)
mcD13 = Distance(M, cD13)
mcD23 = Distance(M, cD23)
mcD24 = Distance(M, cD24)
Zvert: (mcC12 - mcD13 - mcA14) / (mcC23 - mcD24 - mcA34) / Vcoeff
Zrouge: (mcB12 - mcC13 - mcD14) / (mcB23 - mcC24 - mcD34) / Rcoeff
Zbleu: (mcA12 - mcB13 - mcC14) / (mcA23 - mcB24 - mcC34) / Bcoeff
limrouge = 1.3 (slider from 0 to 10, step 0.1)
limvert = 1.6 (slider from 0 to 10, step 0.1)
limbleu = 1.9 (slider from 0 to 10, step 0.1)
indiclimrouge: abs(Zrouge) < limrouge
indiclimvert: abs(Zvert) < limvert
indiclimbleu: abs(Zbleu) < limbleu
texte3: "Rouge = " + Zrouge + " Vert = " + Zvert + " Bleu = " + Zbleu + ""
U = (0, 0.25)
U' = (0.25, 0)
u = Vector(Cad1, U)
v = Vector(Cad1, U')
U'' = Translate(U', u)
U''' = Translate(U'', u)
E = Translate(U''', u)
M' = Translate(M, v)
U''_1 = Translate(U', v)
U'''_1 = Translate(U'', v)
F = Translate(U''', v)
E' = Translate(E, v)
G = Translate(U''_1, v)
H = Translate(U'''_1, v)
F' = Translate(F, v)
E'' = Translate(E', v)
e = Line(E, E'')
g = Line(U''', F')
h = Line(U'', H)
k = Line(E, U'')
m = Line(E', F)
n = Line(E'', H)
n' = Mirror(n, h)
M'_1 = Mirror(M, h)
I = Mirror(M'_1, g)
I' = Mirror(I, e)
J = Mirror(M'_1, k)
I'_1 = Mirror(I, k)
I'' = Mirror(I', k)
J' = Mirror(J, m)
K = Mirror(I'_1, m)
I''' = Mirror(I'', m)
J'' = Mirror(J', n')
K' = Mirror(K, n')
L = Mirror(I''', n')
J''_1 = Mirror(J', h)
J''' = Mirror(J'', h)
M'_2 = Mirror(M, k)
afficher = 0 (slider from 0 to 1, step 1)