Initialisation du projet bclogo
[bclogo.git] / dev / latex / sources_MetaPost / bc-pluie.mp
1 prologues:=1;\r
2 outputtemplate:="%j.mps";\r
3 beginfig(1);\r
4 drawoptions (withcolor (0.854902,0.854902,0.854902));\r
5 linecap := butt;\r
6 linejoin := mitered;\r
7 fill (1.312500,7.531250)..controls (1.750000,6.363280) and (15.585900,6.652340)..(16.468800,7.531250)\r
8     ..controls (19.292999,10.343800) and (15.675800,13.859400)..(12.941400,10.960900)\r
9     ..controls (11.984400,15.808600) and (6.250000,16.218800)..(5.429690,12.050800)\r
10     ..controls (1.605470,12.187500) and (0.609375,9.398440)..(1.312500,7.531250)\r
11     --cycle;\r
12 drawoptions (withcolor (0.725490,0.725490,0.725490));\r
13 pickup pencircle scaled 0.797010bp;\r
14 linejoin := rounded;\r
15 draw (1.312500,7.531250)..controls (1.750000,6.363280) and (15.585900,6.652340)..(16.468800,7.531250)\r
16     ..controls (19.292999,10.343800) and (15.675800,13.859400)..(12.941400,10.960900)\r
17     ..controls (11.984400,15.808600) and (6.250000,16.218800)..(5.429690,12.050800)\r
18     ..controls (1.605470,12.187500) and (0.609375,9.398440)..(1.312500,7.531250)\r
19     --cycle;\r
20 drawoptions (withcolor (0.717647,0.717647,0.717647));\r
21 draw (2.289060,6.382810)--(0.515625,3.585940);\r
22 draw (4.933590,6.382810)--(3.160160,3.585940);\r
23 draw (7.578130,6.382810)--(5.804690,3.585940);\r
24 draw (10.222700,6.382810)--(8.449220,3.585940);\r
25 draw (12.867200,6.382810)--(11.093800,3.585940);\r
26 draw (15.511700,6.382810)--(13.738300,3.585940);\r
27 r:=17pt/(xpart(urcorner(currentpicture))-xpart(ulcorner(currentpicture)));\r
28 picture pic;\r
29 pic:=currentpicture;\r
30 currentpicture:=nullpicture;\r
31 drawoptions();\r
32 draw pic scaled(r);\r
33 z0=.5*urcorner(currentpicture)+.5*ulcorner(currentpicture);\r
34 z1=.5*lrcorner(currentpicture)+.5*llcorner(currentpicture);\r
35 draw (z0+(10.5,2));\r
36 draw (z1-(10.5,2));\r
37 clip currentpicture to ((z0-(8.5pt,0))--(z0+(8.5pt,0))--(z1+(8.5pt,0))--(z1-(8.5pt,0))--cycle);\r
38 endfig;\r
39 end\r

Licence Creative Commons Les fichiers de Syracuse sont mis à disposition (sauf mention contraire) selon les termes de la
Licence Creative Commons Attribution - Pas d’Utilisation Commerciale - Partage dans les Mêmes Conditions 4.0 International.