1 \documentclass[a4paper]{article
}
2 \usepackage[T1]{fontenc}
3 \usepackage{pst-anamorphosis-add
}
4 \definecolor{sepia
}{rgb
}{1,
0.8,
0.8}
6 \section{Image d'un pavage avec des cercles
}
10 \begin{pspicture
}[showgrid
](-
7,-
7)(
7,
7)
11 \pscircle[doubleline=true
]{3}
12 {\psset{linecolor=red
}
21 \pslineA(-
0.5,-
1)(-
0.5,
1)(
1,
1)(
1,-
1)(-
0.5,-
1)
22 %\psdots[dotsize=2mm](I)(J)(K)(L)(I')(J')(K')(L')
23 \psframe(-
0.5,-
1)(
1,
1)
}
24 \multido{\N=-
1.5+
1.0}{4}{
25 \multido{\n=-
1.5+
1.0}{4}{%
26 \pscircle[fillstyle=solid,fillcolor=sepia
](
\n,
\N)
{0.5}
28 \multido{\N=-
1.5+
1.0}{4}{
29 \multido{\n=-
1.5+
1.0}{4}{%
30 \pscircleA[fillstyle=solid,fillcolor=sepia
](
\n,
\N)
{0.5}
32 \multido{\n=
0.5+
0.5,
\N=
0.5+
0.5}{4}{%
33 \pnode(!
\n\space -
2)
{A
}
34 \pnode(!
\n\space 2)
{B
}
42 \multido{\n=-
2.0+
0.5,
\N=-
2.0+
0.5}{4}{%
43 \pnode(!
\n\space -
2)
{A
}
44 \pnode(!
\n\space 2)
{B
}
60 \pslineA[linecolor=blue
](-
0.5,-
1)(-
0.5,
1)(
1,
1)(
1,-
1)(-
0.5,-
1)
61 \psframe[linecolor=blue
](I')(K')
62 \psdots[dotsize=
2mm,linecolor=red
](I)(J)(K)(L)(I')(J')(K')(L')
65 \section{Esquisse de l'image d'un pavage classique
}
68 \begin{pspicture
}(-
6,-
6)(
6,
6)
70 \pscircle[doubleline=true
]{3}
71 \multido{\nY=-
2.0+
1.0}{4}{%
72 \multido{\nX=-
2.0+
1.0}{4}{%
73 \psframe*
[linecolor=sepia
](!
\nX\space \nY\space)(!
\nX\space 0.5 add
\nY\space 0.5
75 \psframe*
[linecolor=sepia
](!
\nX\space 0.5 add
\nY\space 0.5 add)
%
76 (!
\nX\space 1 add
\nY\space 1 add)
78 \multido{\nY=-
2.0+
1.0}{2}{%
79 \multido{\nX=-
2.0+
1.0}{4}{%
80 \psset{linecolor=blue,linewidth=
1mm
}%
81 \pslineA[fillstyle=solid,fillcolor=cyan!
50](!
\nX\space \nY\space)(!
\nX\space \nY\space 0.5 add)(!
\nX\space 0.5 add
\nY\space 0.5 add)(!
\nX\space 0.5 add
\nY\space)(!
\nX\space \nY\space)
83 \multido{\nY=
0.5+
1.0}{2}{%
84 \multido{\nX=-
1.5+
1.0}{4}{%
85 \psset{linecolor=red,linewidth=
1mm
}%
86 \pslineA[fillstyle=solid,fillcolor=sepia
](!
\nX\space \nY\space)(!
\nX\space \nY\space 0.5 add)(!
\nX\space 0.5 add
\nY\space 0.5 add)(!
\nX\space 0.5 add
\nY\space)(!
\nX\space \nY\space)
88 \pslineA[fillstyle=solid,fillcolor=sepia,linecolor=red,linewidth=
1mm
](-
2,
0)(-
2,
0.5)(-
1.5,
0.5)(-
1.5,
0)(-
2,
0)
89 \pslineA[fillstyle=solid,fillcolor=sepia,linecolor=red,linewidth=
1mm
](-
2,
1)(-
2,
1.5)(-
1.5,
1.5)(-
1.5,
1)(-
2,
1)
90 \pscustom[fillstyle=solid,fillcolor=sepia,linecolor=red,linewidth=
1mm
]{
92 \pslineA(-
1,
1)(-
1,
1.5)(-
0.5,
1.5)(-
0.5,
1)(-
1,
1)
94 \pscustom[fillstyle=solid,fillcolor=sepia,linecolor=red,linewidth=
1mm
]{
96 \pslineA(
1,
1)(
1,
1.5)(
1.5,
1.5)(
1.5,
1)(
1,
1)
98 \pscustom[fillstyle=solid,fillcolor=sepia,linecolor=red,linewidth=
1mm
]{
100 \pslineA(
0,
1)(
0,
1.5)(
0.5,
1.5)(
0.5,
1)(
0,
1)
102 \multido{\n=
0.5+
0.5,
\N=
0.5+
0.5}{4}{%
103 \pnode(!
\n\space -
2)
{A
}
104 \pnode(!
\n\space 2)
{B
}
112 \multido{\n=-
2.0+
0.5,
\N=-
2.0+
0.5}{4}{%
113 \pnode(!
\n\space -
2)
{A
}
114 \pnode(!
\n\space 2)
{B
}