Initialisation du projet bclogo
[bclogo.git] / dev / latex / sources_MetaPost / bc-tetraedre.mp
1 prologues:=1;\r
2 outputtemplate:="%j.mps";\r
3 beginfig(1);\r
4 drawoptions (withcolor (0.388200,0.035300,0.105900));\r
5 fill (17.000000,4.875000)--(4.175780,0.621094)--(0.488281,6.898440)\r
6     --(17.000000,4.949220)--cycle;\r
7 pickup pencircle scaled 0.100000bp;\r
8 draw (17.000000,4.875000)--(4.175780,0.621094)--(0.488281,6.898440)\r
9     --(17.000000,4.949220)--cycle;\r
10 drawoptions (withcolor (0.658800,0.058800,0.180400));\r
11 pickup pencircle scaled 0.000000bp;\r
12 fill (17.000000,4.949220)--(0.488281,6.898440)--(7.277340,17.460899)\r
13     --(17.000000,5.140630)--cycle;\r
14 pickup pencircle scaled 0.100000bp;\r
15 draw (17.000000,4.949220)--(0.488281,6.898440)--(7.277340,17.460899)\r
16     --(17.000000,5.140630)--cycle;\r
17 drawoptions (withcolor (1.000000,0.713700,0.756900));\r
18 pickup pencircle scaled 0.800000bp;\r
19 draw (0.488281,6.898440)--(17.000000,4.949220);\r
20 drawoptions (withcolor (0.333300,0.031400,0.090200));\r
21 pickup pencircle scaled 0.000000bp;\r
22 fill (4.175780,0.621094)--(7.277340,17.460899)--(0.488281,6.898440)\r
23     --cycle;\r
24 pickup pencircle scaled 0.100000bp;\r
25 draw (4.175780,0.621094)--(7.277340,17.460899)--(0.488281,6.898440)\r
26     --cycle;\r
27 drawoptions (withcolor (1.000000,0.713700,0.756900));\r
28 pickup pencircle scaled 0.800000bp;\r
29 draw (0.488281,6.898440)--(7.277340,17.460899);\r
30 draw (4.175780,0.621094)--(0.488281,6.898440);\r
31 drawoptions (withcolor (0.702000,0.062700,0.192200));\r
32 pickup pencircle scaled 0.000000bp;\r
33 fill (17.000000,5.140630)--(7.277340,17.460899)--(4.175780,0.621094)\r
34     --(17.000000,4.875000)--cycle;\r
35 pickup pencircle scaled 0.100000bp;\r
36 draw (17.000000,5.140630)--(7.277340,17.460899)--(4.175780,0.621094)\r
37     --(17.000000,4.875000)--cycle;\r
38 drawoptions (withcolor (1.000000,0.713700,0.756900));\r
39 pickup pencircle scaled 0.800000bp;\r
40 draw (17.000000,4.875000)--(4.175780,0.621094);\r
41 draw (7.277340,17.460899)--(17.000000,5.140630);\r
42 draw (7.277340,17.460899)--(4.175780,0.621094);\r
43 r:=17pt/(xpart(urcorner(currentpicture))-xpart(ulcorner(currentpicture)));\r
44 picture pic;\r
45 pic:=currentpicture;\r
46 currentpicture:=nullpicture;\r
47 drawoptions();\r
48 draw pic scaled(r);\r
49 r:=17pt/(xpart(urcorner(currentpicture))-xpart(ulcorner(currentpicture)));\r
50 picture pic;\r
51 pic:=currentpicture;\r
52 currentpicture:=nullpicture;\r
53 drawoptions();\r
54 draw pic scaled(r);\r
55 z0=.5*urcorner(currentpicture)+.5*ulcorner(currentpicture);\r
56 z1=.5*lrcorner(currentpicture)+.5*llcorner(currentpicture);\r
57 draw (z0+(10.5,2));\r
58 draw (z1-(10.5,2));\r
59 clip currentpicture to ((z0-(8.5pt,0))--(z0+(8.5pt,0))--(z1+(8.5pt,0))--(z1-(8.5pt,0))--cycle);\r
60 endfig;\r
61 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.